Clean up s like this:
a-z) or a digit (0-9) as a separator.Example: " Hello, World!! 42 " becomes "hello world 42".
Example 1
Input:
normalize_text(' Hello, World!! 42 ')
Output:
'hello world 42'
Example 2
Input:
normalize_text('---')
Output:
''
0 <= len(s) <= 3 * 10**5s contains only printable ASCII characters.No results yet
Run your code to check it against the examples, or submit to run every test.