Is it possible to make a search+cut for a text from witch you only know the beginning + end in this case M + f
for instance:
I want to cut 'M META 0658 @ f' + \ 'M META 0812 @ f'
\ M siddarta 23 \ M META 0658 @ f \ M cc 2409 N @ g \ M META 0812 @ f \
after search/cut
\ M siddarta 23 \ \ M cc 2409 N @ g \ \
Thanks in advance.
search/cut from witch you only know the beginning + end
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
ben_josephs
- Posts: 2464
- Joined: Sun Mar 02, 2003 9:22 pm
You haven't specified precisely what identifies the strings to be removed.
This works correctly on your example:
Search | Replace... (<F8>):
Search | Replace... (<F8>):
This works correctly on your example:
Search | Replace... (<F8>):
So does this:Find what: _M_[^\]*_f_ [Replace the underscores with spaces]
Replace with: _ [Replace the underscore with a space]
[X] Regular expression
Replace All
Search | Replace... (<F8>):
Find what: \\_M_[^\]*_f_\\ [Replace the underscores with spaces]
Replace with: \\_\\ [Replace the underscore with a space]
[X] Regular expression
Replace All