The /[^\n]*/ worked!
I always thought that the backslash would lose its metacharacter behaviour in the brackets, so I didn't get the idea.
The /.*/ did not work since I don't have a /s switch.
In reply to Re^2: OptiPerls Pattern Replace (Regexpses for one Line)
by Ben Win Lue
in thread OptiPerls Pattern Replace (Regexpses for one Line)
by Ben Win Lue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |