mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
4 lines
140 B
Dart
4 lines
140 B
Dart
|
/// Covert all symbols to whitespace
|
||
|
String cleanUpSymbols(String s) =>
|
||
|
s.replaceAll(RegExp(r"(?:_|[^\p{L}\d])+", unicode: true), " ");
|