Home
Posts
Talks
Publications
Projects
Contact
CV
regex
Python Tricks: Replace All Non-alphanumeric Characters in a String
I have a confession to make: I’m a stickler for filenames. I wholeheartedly believe that all filenames and paths should be kebab case or snake case. Spaces, capitalization, and non-alphanumeric characters drive me nuts.
Apr 17, 2021
6 min read
Tip of the Day: Find non-ASCII Characters with Regex
Search for non-ascii characters using regex:
[^\x00-\x7F]+
Last updated on Apr 17, 2021
1 min read
Cite
×