Hello,
I would like to find 2 sequence directory names appears in a given pathname after a given magic word. is there any sophisticate regular expression for that (no spilt method)
e.g:
$magic_word = "azaria";
$path = "/net/moon/slice1/azaria/bin/files/perl";
then I want to get "bin/files" since those 2 directories follow the magic word "azaria"
Please advice,
azaria