human
Extracting only characters from a string in Python
assistant
Here is some code to extract only alphabetic characters from a string `your string`

""" """.join(re.split('[^a-zA-Z]*', 'your string'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.