Guest User

Untitled

a guest
Dec 18th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. bstack(?!.overflow)
  2.  
  3. var res = Regex.Replace(input, @"(?i)bstack(?!.overflow)", "STACK");
  4.  
  5. System.Text.RegularExpressions.Regex.Replace("This is a stack of pages on stack overflow. Sometimes also referred to as stack.overflow.com"
  6. ,"stack(?!.overflow)"
  7. ,"STACK")
  8.  
  9. (?<=s|^)stack(?=s|.$)
Add Comment
Please, Sign In to add comment