Need help in regex

Below is the String

Assigned: September 02, 2020, 11:49 PM

I want to extract September 02, 2020 from string date is dynamic changes everyday.
I used given regex System.Text.RegularExpressions.Regex.Match(TodayDate,"((?<=Assigned:).(.,))").Value.ToString* but this is given me September 02, 2020,…Comma is end of string after 2020. I want September 02, 2020 this without comma in end

have a look here:

(?<=Assigned: )[A-Z,a-z]* \d{2}, \d{4}

1 Like