Regex AND operator
- by user366735
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