How can i regex only this parts from the text

i require only to extract those highlighted parts
i think we can use date as refer
can some one let me the regex code for this


output1.txt (1.3 KB)

1 Like

Hello @Tharusha_Fernando ,

You can try the below expression
(?<=\d{4}-\d{2}-\d{2}|\d{4}.\d{4}|\d{4}.\d{1}.\d{1}.\d{2}|\d{4}.\d{2}.\d{2}).*?(?=\d)

test here Regex

Cheers

hi @Pradeep_Shiv
thank u i can work with it

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.