Back Reference in Find & Replace

I am trying to use back reference as the help docs state:<br/>
"Back references should have $n but not \n format (as in java.util.regex). "
Text to Find: &lt;a name="l[0-9]+?"&gt;<br/>
Replace with: &lt;a name="l$n" /&gt;
I get the error:<br/>
"You have entered malformed replacement string"
I have also tried every variant of the perl 5/java.util.regex "back reference" to no avail.
Any ideas?<br/>
I'm using 6.0.4 build#6148

1 comment
Comment actions Permalink

Nevemind, I forgot the grouping...

Should be &lt;a name="l(+?)"&gt;


Please sign in to leave a comment.