View Single Post
Old 05-07-2020, 01:19 PM   #13
yamusing
Enthusiast
yamusing began at the beginning.
 
Posts: 49
Karma: 10
Join Date: Jul 2019
Device: none
Quote:
Originally Posted by chaley View Post
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

Last edited by theducks; 05-07-2020 at 01:56 PM. Reason: noparse
yamusing is offline   Reply With Quote