s/(%.)/$1 eq "%q" ? "" : $1/eg; [download]
Abigail
In reply to Re: regex match question by Abigail-II in thread regex match question by Anonymous Monk