RegEx for quoted string with missing open parenthesis -


what regex find quoted string having close parenthesis @ end, :

"people)" 

but not

"(people)" 

something so: "[^(]+?\)" should fit bill. might need escape quotation marks , backslash well, depending on regex engine using.

some details on how regex work available here.


Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -