Extracting / Contain Match Time of Day

I am able to do a contain match to extract a date and change its format to be used in renaming a file but I have not found a way to extract time.
Here is an example of a line of text in a pdf file:
Date: January 24, 2022 at 1:29 AM
I can certainly do a 'contain match' on the AM and PM but those could possibly show up in the rest of the document, not just in the date line.
I could do something with a petter of Number:Number but it would take lots of conditions added to identify the following possibilities:
#:## AM
#:## PM
##:## AM
##:## PM
Because ##:## would also be matched with #:## I would have to account for that, putting a space in front of the 1st #?
Before I spend hours trying to come up with a solution I am hoping someone already has a solution!
Then when I have that solved, I also want to covert time to 24 hour time, such at 2:00 PM would be 1400.
The end result is to rename a file to look like this: 2022_01_24 1400.pdf
Here is an example of a line of text in a pdf file:
Date: January 24, 2022 at 1:29 AM
I can certainly do a 'contain match' on the AM and PM but those could possibly show up in the rest of the document, not just in the date line.
I could do something with a petter of Number:Number but it would take lots of conditions added to identify the following possibilities:
#:## AM
#:## PM
##:## AM
##:## PM
Because ##:## would also be matched with #:## I would have to account for that, putting a space in front of the 1st #?
Before I spend hours trying to come up with a solution I am hoping someone already has a solution!
Then when I have that solved, I also want to covert time to 24 hour time, such at 2:00 PM would be 1400.
The end result is to rename a file to look like this: 2022_01_24 1400.pdf