1. Replace the URL in the target string into hyperlinks
Using system.text.regularexpressions;
Namespace arli.commonprj {public class replacesLink {public replacing () {}
/// Replace the URL in the target string into hyperlink summary> /// To replace the string param> public static string rpof (string mystr) {mYStr = ""; Regex myre = new regex (@ "http: /// s ", regexoptions.ignorecase; matchcollection mclist = myre.matches (mystr); Foreach (Match m in mclist) {mystr = mystr.replace M.Value, "