prepare-string
- String gets lowercased
- Replaces umlauts:
-
ä
toae
-
ö
tooe
-
ü
toue
-
ß
tosz
-
- Replaces and removes unnecessary whitespace
- Ever Whitespace character gets replace by a single
_
- Ever Whitespace character gets replace by a single
- Replaces everything but the characters
a-z
and_
Example
- This
Scheißgeile Tennisplätze!!!!
getsscheiszgeile_tennisplaetze