我有从文本中提取所有单词的功能。public static string[] GetSearchWords(string text) Regex re = newRegex(pattern);
string[] words = new string[matches.Counti=0; i<matches.
我有一个使用.Net框架4的项目Private Shared RegPattern As New Regex("\<base+.+?href\s*\=\s*(""(?[^""]*""|'[^']*')|[^>])*(\/>|>\<\/base\>)", RegexOptions.IgnoreCase Or RegexOptions