http://qs321.pair.com?node_id=985249

Rahul Gupta has asked for the wisdom of the Perl Monks concerning the following question:

Hi everyone,

I have this string

Sanity_001_Sanity_001_0001_00_15

i want this

Sanity_001_0001_00_15

and i tried this code

m/.*_?(.*)/

but it did not work for me

please help me