MappingDataFlow regexExtract - how to use string from another column?

Mathew Partridge 221 Reputation points
2020-08-12T16:19:10.207+00:00

I have a project where I need to apply a regular expression, stored in a table, to all results in another table. I have joined the regex strings to the other table and I have tried to use the regex string column from the joined table in the regexExtract function but it doesn't return a result. Should this be possible?

here is how the function was used:
regexExtract(dataColumn, regexStringColumn)

I tested the regex string directly in the function and it works but when using a value from another column for the regex string it doesn't work. The joined value is visible so the join worked.

Does anyone know if this is possible?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,525 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. Kiran-MSFT 691 Reputation points Microsoft Employee
    2020-08-12T17:15:50.897+00:00

    Check the escaping characters for differences in what you have in actual regex vs what is stored.

    0 comments No comments