Page 1 of 1

A/S/L Blocker

Posted: Thu Jun 22, 2006 8:39 pm
by mmcoolkid94
Is there a way to search for a string that is number/letters/letters? Cause I am trying to add this to a word blocking thingy I am trying to work on. Anybody have some code for one that I could look at. (Yeah, I know that ppl prob. wont give me any and I should do it myself to learn.)

Thanks

Posted: Thu Jun 22, 2006 8:40 pm
by tecktalkcm0391
Try this for a blocker thing.... viewtopic.php?t=49453

Dunno about the A/S/L thing... sorry

Posted: Fri Jun 23, 2006 10:00 am
by Robert Plank

Code: Select all

if (preg_match('|[0-9]*?/[A-Z]*?/[A-Z]*?|i') {
   // asl...
}

Posted: Fri Jun 23, 2006 10:27 am
by Grim...
Er, isn't that number / letters / number?

Posted: Fri Jun 23, 2006 10:44 am
by Robert Plank
Grim... wrote:Er, isn't that number / letters / number?
Oops yeah... edited... too early in the morning.