Provide an opportunity for the REPLACE operator to set the substitution of the found string into the replacement string.
Like that:
REPLACE R"(?<=<td>).*?(?=</td>)" TO P"<b>{content}</b>" WITH P"{content}" AS FOUND
--- old+++ new@@ -1,3 +1,3 @@Provide an opportunity for the REPLACE operator to set the substitution of the found string into the replacement string.
Like that:
-REPLACE R"(?<=<td>).*?(?=</td>)" TO P"<b>{content}</b>" WITH FOUND AS P"{content}"+REPLACE R"(?&lt;=&lt;td&gt;).*?(?=&lt;/td&gt;)" TO P"&lt;b&gt;{content}&lt;/b&gt;" WITH FOUND AS P"{content}"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
summary: "WITH FOUND AS" in REPLACE statement --> "WITH ... AS FOUND" in REPLACE statement
Description has changed:
Diff:
--- old+++ new@@ -1,3 +1,3 @@Provide an opportunity for the REPLACE operator to set the substitution of the found string into the replacement string.
Like that:
-REPLACE R"(?&lt;=&lt;td&gt;).*?(?=&lt;/td&gt;)" TO P"&lt;b&gt;{content}&lt;/b&gt;" WITH FOUND AS P"{content}"+REPLACE R"(?&lt;=&lt;td&gt;).*?(?=&lt;/td&gt;)" TO P"&lt;b&gt;{content}&lt;/b&gt;" WITH P"{content}" AS FOUND
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Diff:
Diff: