Q:

Regex pattern with dot and quotation mark

How can I declare regex pattern in c#. Pattern starts with quotation mark and later is url address, some thing like below
\"www\.mypage\.pl  //<- this is my pattern

string pattern = ? //todo: what should I put there

A:

using verbatim strings:
string pattern = @"""www\.mypage\.pl";

