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). "
<br/><br/>
Text to Find: &lt;a name="l[0-9]+?"&gt;<br/>
Replace with: &lt;a name="l$n" /&gt;
<br/><br/>
I get the error:<br/>
"You have entered malformed replacement string"
<br/><br/>
I have also tried every variant of the perl 5/java.util.regex "back reference" to no avail.
<br/><br/>
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;

0

Please sign in to leave a comment.