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


in reply to regular expressions on the basis of suffix

Assuming the abc could be any non-numeric string, something like /\D+\s+(\d+)/ should get what you want