say have line
blah.field   that needs commented out
//blah.field   which referenced in project in multiple files
is there way comment line in places using simple eclipse search , replace?
replace regular expression:
^blah\.field$   with
//$0   - ^ = begin of line (here)
 - $ = end of line
 - $0 = entire found match
 
Comments
Post a Comment