Reputation: 1739
Using the replace functionality of notepad++, I would like to remove (replace by white space) all words in a text file that are followed by more than one white space. What would be the regular expression to do so?
For instance: blabla blabla1 blabla2 blabla3
should become blabla1 blabla2 blabla3
Upvotes: 0
Views: 670
Reputation: 8318
Try the following .
\w+(?=\s{2,})
This will match words which you should replace.
Upvotes: 3