Hi, I think the following regex/substitution is working...
$loop_variable =~ s/ ?[A-Za-z]{1} {1}(\[(.*)\])? ?\d+(.*)?\.+(.*)?//g;Had quite a bit of work though...
In reply to Re^2: String replacement
by kepler
in thread String replacement
by kepler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |