Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
string unmatched in python
Sun
Programming language:
Python
2021-06-10 02:19:59
0
Q:
string unmatched in python
SerCe
Code:
Python
2021-06-06 12:37:24
import re s = "87 foo 87 bar" r = re.compile(r"87\s*") s = r.sub('', s) print s
0
Tags
string
python
Related
python substring
remove substring python
check if string is empty python
how to check empty string in python
check if string contains python
str in python
remove empty strings from list python
python value is unsubscriptable when using [:]
python raandom string
remover espaços string python
python substring in string
python check empty string
remove from string python
define a string in python
python string contains
python remove string from string
python string in string
approximate string matching python
if substring not in string python
New to Communities?
Join the community