Code:
 
$regex($strip($3-),/\b(cute)|(suck)\b/)
 


It will detect
nick:cutexxx
nick:abc cutexxx abc
nick:abcsuck abc
nick:abcsuck

But what i need is it detect exactly "cute" , "suck" not abccuteabc or abcsuckabc. confused

nick:abc suck abc
nick:cute

Last edited by BanJirian; 26/06/06 09:41 AM.