This is how the text file is below.How to extract only the date part, that is 08/12/2019?Any suggestion ?
Payment Processing Summary
TransferFunds LogID 123456 - 08/12/2019
This is how the text file is below.How to extract only the date part, that is 08/12/2019?Any suggestion ?
Payment Processing Summary
TransferFunds LogID 123456 - 08/12/2019
Hi @Sandhya_UI
you can also use Manipulate the string for your issue. See link for your reference.
How to manipulate string
cheers
Happy learning
Hi @Sandhya_UI,
You can us this regex pattern —> "\d{2}\/\d{2}\/\d{4}"
Assign :
date1(String) = System.Text.RegularExpressions.Regex.Match(Str,"\d{2}\/\d{2}\/\d{4}").Value
where,
date1 —> String variable which will holds date.
Str —> your string.
Thankyou, Samir Mohite. It works.