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