Hi,
I have following commands in my program:
+ M2 [STDDEV F40.1]
…
+ M30 [STDDEV F40.1]
..
+ M42 [STDDEV F40.1]
…
I have to take out all this expressions from my text. I mean I would like to search and replace “+ M* [STDDEV F40.1]� with “ �.
Please advise how can I do that?
Thanks.
Search and replace expression
Moderators: AmigoJack, bbadmin, helios, MudGuard
You need to perform the following search and replace:
Find:
This is basically what you suggested but using a class [0-9] to define the numbers, this is repeated at least once +. Some of the characters you are searching for have specific meaning in a regular expression so they need to be made literal using \.
Hope this helps.
Find:
Replace:\+ M[0-9]+ \[STDDEV F40.1\]
With regular expression enabled and using POSIX regular expression syntax.BLANK
This is basically what you suggested but using a class [0-9] to define the numbers, this is repeated at least once +. Some of the characters you are searching for have specific meaning in a regular expression so they need to be made literal using \.
Hope this helps.
Last edited by SteveH on Mon Jan 15, 2007 1:00 pm, edited 1 time in total.
Thank you very much...
It works! Thank you very much...