|Welcome to the Monastery|
Re^3: Need help on regexpby 2teez (Curate)
|on Aug 04, 2013 at 06:40 UTC||Need Help??|
then simply doing this:
prints abcd_efgh-1.2.3, and thanks to if /3$/; of course using ONLY these OP strings. It could be a different thing if there are other strings ending with "3".
All that been said on the assumption that, that was what was intended by the OP.
If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me