E130 regex_replaceall back references

Options

I'm trying to create a regex string in an E130 tag, but I can't figure out how to get the back references.  Here's what I'm trying to do...

Original string:

String to match:

\\

String to replace with:

<tr><td>$1</td><td>$2</td></tr>

Desired output:

<tr><td>abc</td><td>xyz</td></tr><tr><td>abc</td><td>xyz</td></tr>

What it's actually outputing:

1212

I'm trying to build a table on the fly, but the $1 and $2 are only coming back with the literal number 1 and 2.  I know that the dollar sign notation may be specific to JS, but I've also tried forward slashes.  What flavor of regex are you guys running and how can I get my back reference?

Tagged:

Categories