in reply to Need RegEx assistance

my $myGet =~ (m/(\w+\[get)/ ); my @path = split(/\//, $_[2]); my $myCSS = $path[-3]; my $newLine = "[$myCSS $myGet]";
#this should get you the line as [RiskManagement.css get5]

Edit by dws to clean up <code> tags