I meant after the replacement string. I have a / at the end of my RE (right?), but not the end of the replacement.
I don’t know. Perhaps not. In other systems I’ve seen various cruft after the URL (as the example replacement suggests). I’m probably safe removing that last .* to be sure.
####To recap:
Normalization: /forums\/f[0-9]+\/.+-([0-9])+\.html/oldlinks\/topics\/thread-\1
- works: http://localhost:3000/oldlinks/topics/thread-11769
- no joy: http://localhost:3000/forums/f38/a-bunch-of-words-11769.html
I’ve checked the regex at http://regexr.com/ & it seems to work there. I’ve done something similar in the past. I’m stumped.