Regular expression that contains in it...
Posted
by Fabiano PS
on Stack Overflow
See other posts from Stack Overflow
or by Fabiano PS
Published on 2010-03-30T04:43:25Z
Indexed on
2010/03/30
4:53 UTC
Read the original article
Hit count: 494
regex
I need my regexp to match, all the highlighted words, in order, following:
Fri/Feb/10 - *Nesta* manh\303\203\302\243,* @*anestesya *entrou* \303\240s 08:18AM
Fri/Feb/10 - *Nesta* tarde,* @*pernas *saiu* \303\240s 08:18AM
I was trying something like: /[?=Nesta.?=@.?=(entrou|saiu)]/
So I don't care what is in between as long as it has: ' Nesta ' AND ' @' AND ' entrou ' OR ' saiu '
© Stack Overflow or respective owner