I have the following regex pattern that is extracting a number string out as needed, with one exception.
Some of the string have a minus sign representing a negative number. the following pattern does not pick that up.
Pattern that is working: .Pattern = "(?:[01]?\d|2[0-3]):[0-5]\d"
I have tried using the -? before the ?:, but that does not work.
Thank you in advance for any suggestions.
Bookmarks