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