Guest User

Untitled

a guest
Jan 30th, 2019
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. var pattern = "{{FullName}}";
  2. var docText = "Hello there {{FullName}}!";
  3. docText = new Regex(pattern, RegexOptions.IgnoreCase).Replace(docText, "John");
Advertisement
Add Comment
Please, Sign In to add comment