Regex AND operator

Posted by user366735 on Stack Overflow See other posts from Stack Overflow or by user366735
Published on 2010-06-14T22:13:22Z Indexed on 2010/06/14 22:22 UTC
Read the original article Hit count: 234

Filed under:
|

Based on this answer

http://stackoverflow.com/questions/469913/regular-expressions-is-there-an-and-operator

I tried the following on http://regexpal.com/ but was unable to get it to work. What am missing? Does javascript not support it?

Regex: (?=foo)(?=baz)

String: foo,bar,baz

© Stack Overflow or respective owner

Related posts about regex

Related posts about and-operator