Hi,
I have a need to delete characters between the 13th and 26th characters on each line.
Any suggestions will be very much appreciated.
Kelly
Find / Replace a range of characters
Moderators: AmigoJack, bbadmin, helios, MudGuard
Hi,
You did say any suggestions..
I can't help with a regex if that it what you are after but I delete vertical blocks of text all the time just using block select mode.
Apologies if I'm teaching you to suck eggs but I don't know how familiar you are with textpad. Block select is double click on 'block' on the bottom status bar or hit ctrl+shift+F8. Then if it's a big file select the top left of the block and hit shift+PgDn or shift+ctrl+end etc.
Mike.
You did say any suggestions..
I can't help with a regex if that it what you are after but I delete vertical blocks of text all the time just using block select mode.
Apologies if I'm teaching you to suck eggs but I don't know how familiar you are with textpad. Block select is double click on 'block' on the bottom status bar or hit ctrl+shift+F8. Then if it's a big file select the top left of the block and hit shift+PgDn or shift+ctrl+end etc.
Mike.
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
Do you mean you want to remove charcters 14 to 25, inclusive? If so, try this:
Use "Posix" regular expression syntax:
Use "Posix" regular expression syntax:
Search | Replace... (<F8>):Configure | Preferences | Editor
[X] Use POSIX regular expression syntax
Otherwise adjust the numbers as appropriate.Find what: ^(.{13}).{12}
Replace with: \1
[X] Regular expression
Replace All