How to split text using regex

Hi All, I have a text file in that i have some data i want to extract some specific value when i try to apply regex i’m getting extra value also. can anyone help me with that.

INCIDENT DATE INCIDENT NUMBER
05/05/2020 M123456780.019

HI @Learner007

How about this expression

System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\b\d{2}\W\d{2}\W\d{4}\b\s)\S.*").Tostring

image

Regards
Gokul

Thanks @Gokul001 , For the solution

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