I updated my last reply
But I think it might be better to step back and consider what you are trying to achieve.
If you can use code, that may be simpler:
my $in = "foo"; my $out = $in =~ /#(.*)/ ? $1 : "";
In reply to Re^3: Simple Regex drives me insane
by Timka
in thread Simple Regex drives me insane
by cheerydog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |