New answers tagged


So you're looking for a regular expression feature wherein a back-reference refers not to a preceding capture group but to the result of applying a mathematical function to a preceding capture group. I'm not aware of any regex engine capable of doing this. That doesn't mean one doesn't exist; there are some pretty exotic/complex operations possible in some ...

Top 50 recent answers are included