Will "the Mighty" Strohl

Will Strohl's Blog


My name is Will Strohl. I'm a former employee of DNN Corp., a leader, personal branding expert, technologist, gamer, and more...

Regular Expression - Validating Time

I am just an amateur when it comes to regular expression, but I plan on getting a whole lot better at it. There is too much potential there to not want to use it more often. I just came up with a regular expression pattern to validate time format. It has some small checks incorporated for valid times, but it is not 100% inclusive.

Regular Expression - Date

I have another one for you! This one will validate a date within the current century. This should be sufficient enough for most current applications.