[thelist] regex: replacing bracket characters [solved]

Tom Dell'Aringa pixelmech at yahoo.com
Wed Dec 10 08:49:10 CST 2003


--- "Plunkett, Matt" <MPlunkett at MSA.com> wrote:
> Both of these regexps try to match (), not ( or ).   Try 
> 
> /[\(\)]/
> 
> Brackets mean to match any character inside them.

Ah, thank you Matt - works perfect!

Tom


=====
http://www.pixelmech.com/ :: Web Development Services
http://www.DMXzone.com/ :: JavaScript Author / Every Friday!
http://www.thywordistruth.net/ :: Eternal Life

[Those who say that I am finished, and am through, will have to run over my dead body to beat me...]


More information about the thelist mailing list