removeNonAlphaPattern property
RegExp('[^A-Z0-9']+', caseSensitive: false)
matches any non-alphanumeric char
matches:
line breaks- kebab-case
-- snake_case
_- no case
- n8&*92+=84m
&*+=
does not match:
- STRANGECase
- camelCase
- PascalCase
Implementation
static final removeNonAlphaPattern =
RegExp("[^A-Z0-9']+", caseSensitive: false);