Do you have a question? Post it now! No Registration Necessary. Now with pictures!
March 2, 2010, 12:01 am
rate this thread
I have the below examples where I need to get the lastname using Perl
substitute and replace:
joeAAAAsmith jrAAAAbudget where I need to get smith jr
GeneAAAAEvansAAAAmanager where I need to get Evans
I need to fetch just the lastname which will always be in between the
AAAA and AAAA delimeter: SteveAAAAJones-SingletonAAAAengineer where I
would need to get Jones-Singleton
I used the below and it worked but would like to know if this is the
most efficient way to do it?
- » FAQ 6.21 Are Perl regexes DFAs or NFAs? Are they POSIX compliant?
- — Next thread in » PERL Discussions
- » FAQ 5.37 Why does Perl let me delete read-only files? Why does "-i" clobber protected fil...
- — Previous thread in » PERL Discussions