You have the option to use regular expressions in your rules when you use the "matches" condition. 

You can test your input here: http://rubular.com/ which is based on the same engine we use for our regular expressions.