regexExtract - ADF data flow

Vivek Komarla Bhaskar 956 Reputation points
2022-09-21T13:18:34.62+00:00

I need to extract the date field from the string. But unable to retrieve it fully -
Output expected is 04 03 22 but I only get 04. Please advise me here

243484-screenshot-2022-09-21-at-141634.png

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShaikMaheer-MSFT 38,556 Reputation points Microsoft Employee Moderator
    2022-09-22T11:27:48.763+00:00

    Hi @Vivek Komarla Bhaskar ,

    Thank you for posting query in Microsoft Q&A Platform.

    Since Your numbers at then end of string, You can consider using split() function on top of string based spaces. This gives you array and then calculate length of it and then take last 3 index values to concatenate.

    Please let me know how it goes.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.