print substr($path, index($path, $magic_word)+length($magic_word)+1); [download]
In reply to Re: regular expression for workdir by holli in thread regular expression for workdir by azaria