title: C# how to use Regex.replace, to replace all the pattern matches with the target string
body: <p>Yes, I want to search and replace all the occurrences of the pattern and replace them with a target string. I am trying to use Regex.Replace(src, pattern, target), is there a flag like \g to put in pattern to make it work, or what?</p>