Gossamer Forum
Home : General : Perl Programming :

poor at Regex...

Quote Reply
poor at Regex...
$str = "John D. Doe, SMD";

Want to extract all (\s)caps before (,) (to look like Initials, want to convert above string to 'JDD')

but really facing some problems understanding $1,$2,$3???

Sorry but I am remained poor in Regexes?

TIA,

Zeshan.
Subject Author Views Date
Thread poor at Regex... zeshan 3001 Oct 16, 2003, 8:29 PM
Post Re: [zeshan] poor at Regex...
cornball 2908 Oct 17, 2003, 11:15 PM