removeUnCommonCharacters property
String
get
removeUnCommonCharacters
removeUnCommonCharacters: removes common characters from a string
Implementation
String get removeUnCommonCharacters =>
this?.replaceAll(RegExp(r'[^a-zA-Z0-9\s]'), '') ?? "";