in reply to Question on Regex
Hello, perhaps this helps.
#!/usr/bin/perl use strict; use warnings; my $string = qq (.co.uk/Jobs/Company-Sector/C8A6446X4PND86M9WYJ/Tradew +ind/?APath=126.96.36.199.0); $string =~ m/.+\/.+\/.+\/(.+)\/.+/; print $1;
Update: I did not count right, sorry...
«The Crux of the Biscuit is the Apostrophe»