Clive Portman: code

Javascript string match for times

.match searches a string for characters and returns them if found.

'Conditions for Austin, TX at 2:50 pm CST'.match(/\d{1,2}:\d{2} .m/g)
// returns '2:50 pm'

More info here: Javascript RegExp Object