in reply to Re: Get chars between 2 markers using regular expressions
in thread Get chars between 2 markers using regular expressions
Very good answer overall, but there are a couple nits.
Firstly, you keep using a slash where you need a backslash; it isn't /w and /s but \w and \s.
Secondly, you made the statement:
If you have several such strings in a single line of data, then only the last match will be returned.That's incorrect in that it will be the first match returned, not the last one.
-sauoq "My two cents aren't worth a dime.";
|
|---|