need help with regular expressions - 06/05/04 07:01 PM
Hi, I am new on this forum.
I'd like to know how to make a $regex with a pattern that checks if:
- first word (required), is !add or !addme;
- second word (optional), if specified, is a or b.
sry 4 my bad english
Thanks
I'd like to know how to make a $regex with a pattern that checks if:
- first word (required), is !add or !addme;
- second word (optional), if specified, is a or b.
sry 4 my bad english
Thanks