How can I get a string constant from source code in a string?
For example, here is the source code I am trying to process:
var v = "this is string constant + some numbers and \" is also included "
I am unable to get everything inside quotation marks. by using this regular expression: "(.*?)"
.
I can't get var
, v
, =
or anything else except string character.