http://www.perlmonks.org?node_id=1003381


in reply to Regex Doubt

The only reliable way to detect the location appears to be to lock the regex to the end of the string and then do a non-greedy match from the last " - " (dash with spaces)
A Monk aims to give answers to those who have none, and to learn from those who know more.