#this should get you the line as [RiskManagement.css get5]my $myGet =~ (m/(\w+\[get)/ ); my @path = split(/\//, $_[2]); my $myCSS = $path[-3]; my $newLine = "[$myCSS $myGet]";
Edit by dws to clean up <code> tags
In reply to Re: Need RegEx assistance
by amoura
in thread Need RegEx assistance
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |