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