import re
# Use regular expressions to do a find-and-replace
string = re.sub("[^a-zA-Z]", # The pattern to search for
" ", # The pattern to replace it with
example1.get_text() ) # The text to search
print(letters_only)