[Israel.pm] regex question

Yossi Itzkovich Yossi.Itzkovich at ecitele.com
Tue Jan 5 04:39:45 PST 2010

I need to catch a text between, for example, the word "myWord" and a word which is not "myWord".
I can do it like :  m~\bmyWord\b(.+?)\b[^m][^y][^W][^o][^r][^d]\b~  but I guess there is a much better alternative.

Thanks in advance


More information about the Perl mailing list