[thelist] Escaping Parenthesis in RegExp

Martin Kuplens-Ewart martin at takingitglobal.org
Sat Mar 9 14:48:12 CST 2002


> Find: ^(^(???^)^)

The ^ character is often used to negate certain chars in a match... So,
if I wanted to capture everything except a, c, and e, I'd put the
following in my regexp:

[^ace]

again: perl/php limited experience

-m





More information about the thelist mailing list