Trying to define a RE
"COURTAULT Francois" <[email protected]> Tue, 7 Dec 2004 18:49:27 +0100
| Newsgroups | gmane.comp.jakarta.regexp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a java String which is : "<test>\n\t<test2>XXXX</test2>\n\t<test3>YYYY</test3>\n\t<node-to-find>\n= \t\t<tt>\n\t\t\t<ttt>vvvv</ttt>\n\t\t</tt>\n\t</node-to-find>\n</test>" I want to search a RE which begins by <node-to-find> and ends by = </node-to-find> inside these two strings, you can have any character.=20 How can you define the RE for that purpose ? I have tried = <node-to-find>.*</node-to-find> without success ! Any idea ? Regards.