Reputation: 1233
Hi can someone help me with regexp to capture everything between the double quotes in the text below using c#.
$pageProcessId = "abc_def_ghi";
also the string can be
$pageProcessId="abc_def_ghi";
trying to capture abc_def_ghi basically...hope it makes sense.
thank you very much.
Upvotes: 0
Views: 218
Reputation: 91
\"(?<InsideString>.*?)\"
InsideString is just a capture group name, you can delete it and just keep this.
\".*?\"
Upvotes: 1