[dba-VB] C# Regex?

Michael Maddison michael at ddisolutions.com.au
Thu Mar 29 00:04:11 CDT 2012


Hi Guys,

Anyone good at regex?

My strings could look like any of these
	1 sec 
	11 sec
	1 min 5 sec
	1 min 26 sec
	1 hr  1 min 5 sec
	1 hr  12 min 26 sec	

The goal is to get total # of seconds but splitting into a
MatchCollection would do.

Any takers?

Cheers

Michael M



More information about the dba-VB mailing list