请问如何用正则表达式查找字符串下的特定词汇?
<div class="tit" style="float:left">企业名称:福州宏东远洋渔业有限公司<a
href="/company/company.php?comid=" target=_blank>查看公司详细介绍</a></span> <img src="/skin/system/group0.gif" alt="请教怎么用正则表达式查找字符串下的特定词汇" </div>
string str = File.ReadAllText("D:\\1.txt", Encoding.Default);
var m = Regex.Match(str, @"(?is)企业名称:(\w+).*?alt=[""']([^""']+)");
Console.WriteLine(m.Groups[1].Value);
Console.WriteLine(m.Groups[2].Value);