formatting date from string

I have a string:

'Thursday, Jul 28, 2022'

i need to convert it to date:

date_tag_val1 = date_tag.string
date_tag_val = datetime. strptime(date_tag_val1, '%d/%m/%y')

i get error:

time data 'Thursday, Jul 28, 2022' does not match format '%d/%m/%y'

How to fix it?

I got it:

date_tag_val1 = date_tag.string
date_tag_val2 = datetime. strptime(date_tag_val1, '%A, %b %d, %Y')
date_tag_val = date_tag_val2.date()