Tana20
(Tana20)
1
Hi,
I would like to extract the data that is in parentheses from the “OFS” column and paste it into the “PT” column.

Expected Results:

I tested the Regex pattern and it works as expected:

However, this is the result I’m getting:

This is what I have so far:
RegexTest.zip (42.7 KB)

Any help would be greatly appreciated!

ppr
(Peter Preuss)
2
@Tana20
Have a look on following regex:

Change the flow like:
row("PT") = System.Text.RegularExpressions.Regex.Match(row("OFS").toString,"(?<=\().*(?=\))").toString
After the for each row write updated data back to Excel
1 Like
system
(system)
Closed
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.