Quote:
Originally Posted by chaley
Yes. Move the parenthesis of the second group to where you want.
I suggest that you do some experimentation with patterns to see how they work.
|
Thank you very much. These work just like I wanted, much appriciated for your help.
^(.*?, *|)weight:(.+?|)(,.*?|)$
\2
then
^(.*?, *|)(weight:.+?|)(,.*?|)$
\1\3