Hello,

Do you know what is the regular expression for characters that are enclosed in quotes?

E.g
"python"
"12345"

Thanks

try

regex = re.compile('"([^"]+)"')
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.