Contact: aviboots(AT)netvision.net.il
39,892 questions
51,823 answers
573 users
import re string = "Python is a high-level 'interpreted' general-purpose 'programming language'" lst = re.findall(r"'([^']*)'", string) print(lst) ''' run: ['interpreted', 'programming language'] '''