You may want to consider alternative solutions; split or maybe even rindex would do the job... :-)
In reply to TMTOWTDI (Re: Regex help) by space_monk in thread Regex help by perlnoobster