Perl Monk, Perl Meditation | |
PerlMonks |
Parse string and extract word after specific patternby rinkish85 (Novice) |
on Mar 23, 2017 at 10:49 UTC ( [id://1185608]=perlquestion: print w/replies, xml ) | Need Help?? |
rinkish85 has asked for the wisdom of the Perl Monks concerning the following question: Hi, I need to parse the below string stash_ST1.2.3.4_1.ROLLBACK.check.20170228-101051.435944.txtI am intrested only in part ROLLBACK.check Basically I am looking at what appears after "ROLLBACK" in above string. for e.g in this case its "check" .... that could be any word string like check2, check3, migration1, migration2. Thank you. Please suggest.
Back to
Seekers of Perl Wisdom
|
|