Check string is contains special characters.
bool containsSpecialCharacters(String str) { RegExp reg = RegExp(_Regex().containsSpecialCharacters); return reg.hasMatch(str); }