Saturday, June 1, 2013

How to Replace Exact URL in the Text Template?

try this



var result = Regex.Replace(input, @"(^|\s)http://www.apple.com($|[/]\s)", "$1http://www.xyz.com$2")





Muthukrishnan Ramasamy

net4.rmkrishnan.net

Use only what you need, Reduce global warming


No comments:

Post a Comment