✅ Replace regex-pattern with dynamically generated string. - C#