Re: Regex Problem.

2005-08-18 Thread Sara
That's worked like a charm, You ALL are great. Thanks everyone for help. Sara. - Original Message - From: <[EMAIL PROTECTED]> To: "'Sara'" <[EMAIL PROTECTED]> Sent: Thursday, August 18, 2005 10:50 PM Subject: RE: Regex Problem. Hi Sara,

Re: Regex Problem.

2005-08-18 Thread Wiggins d'Anconia
Sara wrote: > I am at a loss here to generate REGEX for my problem. > > I have an input query coming to my cgi script, containg a word (with or > without spaces e.g. "blood" "Globin Test" etc). > What I am trying to do is to split this word (maximum of 3 characters) and > find the BEST possible

Re: Regex Problem.

2005-08-18 Thread Greg Jetter
On Thursday August 18 2005 11:48 am, Sara wrote: > I am at a loss here to generate REGEX for my problem. > > I have an input query coming to my cgi script, containg a word (with or > without spaces e.g. "blood" "Globin Test" etc). What I am trying to do is > to split this word (maximum of 3 charact

Regex Problem.

2005-08-18 Thread Sara
I am at a loss here to generate REGEX for my problem. I have an input query coming to my cgi script, containg a word (with or without spaces e.g. "blood" "Globin Test" etc). What I am trying to do is to split this word (maximum of 3 characters) and find the BEST possible matching words within my

Re: Regex problem

2003-07-21 Thread Octavian Rasnita
;Sara" <[EMAIL PROTECTED]> To: "org" <[EMAIL PROTECTED]> Sent: Monday, July 21, 2003 2:37 AM Subject: Regex problem $name = "SARA DEILEY"; how its possible to grasp only initials for First and Last name i.e $name ="SD"?? thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Regex problem

2003-07-20 Thread Scot Robnett
tries print "Doh!"; exit; } -Original Message- From: Wiggins d'Anconia [mailto:[EMAIL PROTECTED] Sent: Sunday, July 20, 2003 7:10 PM To: Sara Cc: org Subject: Re: Regex problem Sara wrote: > $name = "SARA DEILEY"; > > how its possible to grasp o

Re: Regex problem

2003-07-20 Thread Wiggins d'Anconia
Sara wrote: $name = "SARA DEILEY"; how its possible to grasp only initials for First and Last name i.e $name ="SD"?? Depends on how standardized your data is, something simple like this should work for the above: my $name = 'SARA DEILEY'; my $initials; if ($name =~ /^(\w)\w*\s+(\w)\w*/) {

Regex problem

2003-07-20 Thread Sara
$name = "SARA DEILEY"; how its possible to grasp only initials for First and Last name i.e $name ="SD"?? thanks.

Re: regex - problem

2002-07-22 Thread perl-dvd
e regular expression matches is a period, not an any character. Regards, David - Original Message - From: "alex" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 19, 2002 10:16 AM Subject: regex - problem Hi, I have this unsignificant problem

Re: Regex problem?

2002-01-13 Thread Curtis Poe
--- Troy May <[EMAIL PROTECTED]> wrote: > Hello, > > I'm having a problem with a bulletin board I'm setting up. All the smilies > work except for one, the wink one. which be called when you type in ";)". > It won't display the graphic. All the others are fine so I know's it not a > config or d

Re: Regex problem?

2002-01-13 Thread Ahmed Moustafa
Hi Troy, I don't understand your regex. I think the following should work fine: $message =~ s/(;-\)|;\))//g; Regards, --Ahmed [EMAIL PROTECTED] | http://www.photo.net/users/ahmed Troy May wrote: > Hello, > > I'm having a problem with a bulletin board I'm setting up. All the smilies > work

Regex problem?

2002-01-13 Thread Troy May
Hello, I'm having a problem with a bulletin board I'm setting up. All the smilies work except for one, the wink one. which be called when you type in ";)". It won't display the graphic. All the others are fine so I know's it not a config or directory problem. Here's the regex that looks for i