I want to strip all kinds of punctuation at the start of the string using Python. My list contains strings and some of them starting with some kind of punct
If you want to remove it only from the begining, try this:
import re s='"gets' re.sub(r'("|,,)(.*)',r'\2',s)