Problems with regular expressions.
Hi all.
I want to substitute within an xml file a string with the following structure:
Referencer="//@Model/@OwnedElement.0/@OwnedElement.1/@OwnedElement.0/@OwnedElement.1/@OwnedElement.33 ..."
where the dots mean that the string within the quotes may be repeated (separated by spaces) many times.
I've tried to match such expression with java regex, with no luck. I thought running
line.contains("Referencer=\"[^\"\\r\\n]*\"");
would return true, but it didn't.
Could anybody point me the right way?.
Thank you all in advance.

