Use a regex to validate handle. Fix validation by other browser than Firefox which didn't know String.contains method