Fix issue with regular expression to validate the time before attack