in reply to RE - match from right
reverse() your string, then run the regex as if you want the first match, then reverse() again