Identification of community structures in complex networks has been a challenge in many domain and discipline. In protein networks these community interactions play a vital role in identifying the outcome of many cellular mechanisms. This paper reports the use of spectral optimization of triangular modularity as an effective method to identify these community structures.The algorithm has been carefully tested on real biological data and the results acknowledge that this is a powerful method for extracting community structures from protein networks.