I'm trying to use regex and regex does have its performance downside even if it's compiled.
What i want to know is, before actually running the Regex.Replace should i check first if there's a match in the string using Regex.IsMatch?
This question is about optimization and performance.