Contact: aviboots(AT)netvision.net.il
43,939 questions
57,344 answers
573 users
import re s = "python person popcorn" s = re.sub(r"p.*?on", "C", s) print(s) ''' run: C C popcorn '''