Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thank you.$test="LDAP://CN=MyPc,OU=MyOu,DC=NyDomain,DC=com"; if ($test =~ "LDAP://CN=(.*),.*") { print "$1\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Newbie Regex Problem
by Joost (Canon) on Oct 19, 2007 at 21:20 UTC | |
|
Re: Newbie Regex Problem
by almut (Canon) on Oct 19, 2007 at 21:11 UTC | |
|
Re: Newbie Regex Problem
by andyford (Curate) on Oct 19, 2007 at 21:12 UTC | |
|
Re: Newbie Regex Problem
by dsheroh (Monsignor) on Oct 19, 2007 at 21:24 UTC | |
|
Re: Newbie Regex Problem
by FunkyMonk (Bishop) on Oct 19, 2007 at 21:12 UTC | |
|
Re: Newbie Regex Problem
by omouse (Initiate) on Oct 20, 2007 at 15:28 UTC |