adding timer regular expression