Best way to strip punctuation from a string

From an efficiency perspective, you’re not going to beat For higher versions of Python use the following code: It’s performing raw string operations in C with a lookup table – there’s not much that will beat that but writing your own C code. If speed isn’t a worry, another option though is: This is faster … Read more