But if you know the order of appearance (i.e. olive before popeye) you can use:if (/olive/ and /popeye|bluto/) { }
/olive.*(popeye|bluto)/
In reply to Re: AND and OR on Regular Expressions
by busunsl
in thread AND and OR on Regular Expressions
by vitoco
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |