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

php array slice every 2th rule -

My HTML document is not linking to my CSS stylesheet properly -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -