how to Write the regular expression that will match all non-digit characters of a string.
import re
foo = '69he420l356lo420World69420'
match = re.findall(r'\D', foo)
print (match)
#should return, ['h', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd']
how to Write the regular expression that will match all non-digit characters of a string.
import re
foo = '69he420l356lo420World69420'
match = re.findall(r'\D', foo)
print (match)
#should return, ['h', 'e', 'l', 'l', 'o', 'W', 'o', 'r', 'l', 'd']
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us