0

What is the regex pattern to find and replace a line in eclipse ?

I am using this pattern \S*\text\S* and it replaces only the word but not the whole line matching the pattern

Aarish Ramesh
  • 6,745
  • 15
  • 60
  • 105

1 Answers1

1

You can use the following regexp:

^.*text.*$
debe
  • 1,752
  • 2
  • 12
  • 11