Write the regular expression that will match all non-digit characters of a string. Use the character class \D in your expression.
txt = "242Edabit2345can3443be3254324addictive!"
pattern = "yourregularexpressionhere"
" ".join(re.findall(pattern, txt)) ➞ "Edabit can be addictive!"import re from the code.