I have stumbled across this before, but I can't find it when I need it.
I see in the replacement text I can use $1 or $2 for submatches, but how do i signify what a sub will be in the find window? I tried {} and () and neither of those seemed to have worked.
I am still having some difficulty. Let me give the specific example. I want to Find:
partone.html#[0-9][0-9][0-9]"> In regular expressions I believe I have to format this with the \ partone.html\#[0-9][0-9][0-9]\"\> Then I want to isolate everything after the . So I thought it would be: partone(.html\#[0-9][0-9][0-9]\"\>)
Replace: parttwo$1
But I can't get it to replace with the expected parttwo.html#(numbers preserved)"> instead it replaces literally: parttwo$1
I'm having the exact same problem, using SuperEdi 4.1.3U under Win XP.
If I tick the "Regular Expression" checkbox, the search will find correct matches for the expression, but any placeholders in the replacement field are inserted literally, i.e. as "$1", "$2", etc.
Ah, that's it. I was using the "Replace" button first, to see whether I had gotten the regular expression and replacement string right, and since that didn't work as I expected, I never used "Replace All".