Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Steps to get a substring from a stringby vinoth.ree (Monsignor) |
on Jul 21, 2015 at 16:42 UTC ( [id://1135660]=note: print w/replies, xml ) | Need Help?? |
Hi Corion
How about the 2nd case,2) I have name=servername , i want to still capture the first part in a variable. In this your code will not work. we need to match a-zA-Z character after = Update: Updated the regex part as per CountZero's node Re^3: Steps to get a substring from a string All is well. I learn by answering your questions...
In Section
Seekers of Perl Wisdom
|
|