Regex always make me scratching head.
In my Windows Store App, an html content <a href="www.example.com">
need to be replaced to <a href="javascript:window.external.notify('www.example.com')">
in order to intercept Navigation event in WebView.
I tried Regex.Replace(content, "<a href=\"(.+)\">", "<a href=\"javascript:window.external.notify('\\0')\">");
but no luck.
Could you teach me how to do it in C#?