removeNumbers property

String get removeNumbers

Removes all the numbers from the String.

Example:

String f = 'Hello123World'.removeNumbers; // 'HelloWorld'

Implementation

String get removeNumbers => replaceAll(RegExp(r'[0-9]'), '');