Quick question, i want to replace the webaddress to reflect the new location in 118 sql text fields. so i am reading them in, doing regex.replace so I can do an update the text fields.
The following works:
However this desired code doesn't work at all.
I assume it's something simple with the period.
The following works:
Code:
messageReplaced = Regex.Replace(message, "intranet", "dcintranet");
Code:
messageReplaced = Regex.Replace(message, "intranet.webaddress.com", "dcintranet.webaddress.com");
I assume it's something simple with the period.