Search at position or in marked text
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
- Posts: 1
- Joined: Wed Mar 20, 2013 10:03 am
Search at position or in marked text
I have to handle big text files an therefor it would be helpful if I could define a column where the search argument I will find starts or that I can select "o in market text" in the search dialig as I can do it in the replace dialog.
Giuseppe Sonanini, Switzerland
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
To find the string text only if it starts at column 20 (as in this line):
Use "Posix" regular expression syntax:
Unfortunately, you can't restrict a search to the current selection.
Use "Posix" regular expression syntax:
Search | Find... (<F5>):Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
The regular expression ^.{19} matches any 19 characters at the beginning of a line.Find what: ^.{19}text
[X] Regular expression
Replace All
Unfortunately, you can't restrict a search to the current selection.