My problem is that when I for example add a point more like it needs replacing. Then it comes up with this error:
cannot convert from string to System.stringComparison
If I thus comment on the last replace. Then there are no problems but this only happens if I have added the extra replace on my Regex.
text = Regex.Replace(text, @"{(?s)(.*){medlem}}.*{{medlemstop}}",
"<img src=\"https://aaaa.azureedge.net/imagesfiles/hello.png\" class=\"img-responsive\" alt=\"hello world\">")
.Replace(text, @"{(?s)(.*){pay}}.*{{paystop}}", "ERROR HERE!!!");
I have also tried to do this: