String manipulation for getting date

Hi all,

i have a sentence with date “31 December 2018” like to get that date. Is it possible to get that using below condition?

System.Text.RegularExpressions.Regex.Replace(strPortfolio, “(Jan(uary)?|Feb(ruary)?|Mar(ch)?|Apr(il)?|May|Jun(e)?|Jul(y)?|Aug(ust)?|Sep(tember)?|Oct(ober)?|Nov(ember)?|Dec(ember)?)\s*(\d{1,2}\s*,\s*\d{4})”, “”)

Thanks &Regards

@Spark_robot Hope Attached file meets your scenario Main.xaml (5.4 KB)

Thank you @syedabidraza for the solution “https://forum.uipath.com/t/try-this/93539/4?u=spark_robot

You can mark this as solved :slight_smile:
Link : Manipulation for extracting Date form string Using Regex
Thanks in advance and feel free for any query.

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