Answers for "string unmatched in python"

0

string unmatched in python

import re
s = "87 foo 87 bar"
r = re.compile(r"87\s*")
s = r.sub('', s)
print s
Posted by: Guest on October-29-2020

Code answers related to "string unmatched in python"

Python Answers by Framework

Browse Popular Code Answers by Language