![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRegular Expression Help
From: <applemonster100@yahoo.co.uk>
Date: Tue Jul 05 2005 - 17:29:46 CEST
I have an xml string which I need to remove certain <error> node from.
<error errorid="11" itemid="10">The card name is mandatory.</error>
I can't use a regular expression which matches the whole <error> node
I want to use a regular expression to remove this node but I can't get
<error errorid=""11"" itemid=""12"">.*</error>
but this removes all <error> nodes from the match onwards.
Any ideas?
Thanks
|