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