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;
In reply to Re: RegExp: pos management in global substitution
by Perlbotics
in thread RegExp: pos management in global substitution
by OlegG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |