replace_non_alpha

emlib.csvtools.replace_non_alpha(s)[source]

Remove any non-alphanumeric characters, replace spaces with _

Parameters:

s (str) – the string to sanitize

Return type:

str

Returns:

a copy of s with all non-alphanumeric characters removed