D
Daku
Could some Java guru please help ? I am using java.util.regex, but
having extreme problems with parsing strings.
The regex string is:
<div\\b[^>]+?id=\""+keyValue+"\\b*\">(?:[^<]++|<(?!/?div>))*+</div>
And I am trying to match strings as:
<div class="taggedInput" id="Tools"
name="toolsets"> wrench,hammer,screwdriver</div>
The keyValue is replaced with Tools.
I am always getting an error that there is no match, although this
regex has been know to match strings like this before.
I tried online at :
http://www.fileformat.info/tool/regex.htm,
but am confused by what I need to put in the text box labelled
'Replacement'.
Any hints, suggestions would be invaluable. Thanks in advance for your
help.
having extreme problems with parsing strings.
The regex string is:
<div\\b[^>]+?id=\""+keyValue+"\\b*\">(?:[^<]++|<(?!/?div>))*+</div>
And I am trying to match strings as:
<div class="taggedInput" id="Tools"
name="toolsets"> wrench,hammer,screwdriver</div>
The keyValue is replaced with Tools.
I am always getting an error that there is no match, although this
regex has been know to match strings like this before.
I tried online at :
http://www.fileformat.info/tool/regex.htm,
but am confused by what I need to put in the text box labelled
'Replacement'.
Any hints, suggestions would be invaluable. Thanks in advance for your
help.