I'm using regular expressions in JMP Recode's "Replace String" function to transform strings like "en127" into "1270". My approach is to capture the two digits using:
<SPAN>Find: en(\d+)</SPAN>
But when I try to use:
<SPAN><SPAN class="hljs-section">Replace: \10</SPAN></SPAN>
…it is interpreted as a reference to group 10, not group 1 followed by a literal "0".
Is there a way in JMP to append a literal "0" (or any literal digit) after a capture group without it being misinterpreted as a higher-numbered group?
Other engines (like Perl or JavaScript) let you disambiguate with braces or dollar signs (e.g., ${1}0), but JMP doesn't seem to support those.
I’d prefer a one-step solution, not one that requires a second replace operation.
Any insight on how to do this cleanly in JMP?
Thanks!