in reply to RegExp: pos management in global substitution
I would use two regexp: first to check if line starts with {name_a and a second to remove all unwanted param_* entries:
m/wanted name_a-line/ and s/unwanted parameters//g;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RegExp: pos management in global substitution
by OlegG (Monk) on Sep 03, 2011 at 17:48 UTC |