more useful options | |
PerlMonks |
Re^3: Need help on regexpby 2teez (Vicar) |
on Aug 04, 2013 at 06:40 UTC ( [id://1047771]=note: print w/replies, xml ) | Need Help?? |
Hi kcott, 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
In Section
Seekers of Perl Wisdom
|
|