惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Simon Willison's Weblog
Simon Willison's Weblog
Help Net Security
Help Net Security
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
C
Cisco Blogs
C
CERT Recently Published Vulnerability Notes
NISL@THU
NISL@THU
L
LINUX DO - 热门话题
Security Latest
Security Latest
A
Arctic Wolf
G
GRAHAM CLULEY
月光博客
月光博客
S
Securelist
D
Docker
J
Java Code Geeks
T
Troy Hunt's Blog
T
Tenable Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
SecWiki News
SecWiki News
S
Security @ Cisco Blogs
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
L
LINUX DO - 最新话题
Recent Commits to openclaw:main
Recent Commits to openclaw:main
aimingoo的专栏
aimingoo的专栏
博客园 - 【当耐特】
H
Heimdal Security Blog
The Hacker News
The Hacker News
博客园 - 三生石上(FineUI控件)
Application and Cybersecurity Blog
Application and Cybersecurity Blog
N
Netflix TechBlog - Medium
Vercel News
Vercel News
Forbes - Security
Forbes - Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
IT之家
IT之家
B
Blog
MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Google DeepMind News
Google DeepMind News
S
Secure Thoughts
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Check Point Blog
云风的 BLOG
云风的 BLOG
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
The Blog of Author Tim Ferriss
L
Lohrmann on Cybersecurity
F
Full Disclosure
D
Darknet – Hacking Tools, Hacker News & Cyber Security
P
Proofpoint News Feed

博客园 - kingeric

关于OA流程相关数据表的设计 没事干写写流程审批数据库的设计 sqlserver:某年份某月份 是否在某时间段内的函数 修改KindEditor编辑器 版本3.5.1 夏天到了,什么时候园子的T恤可以出来? Flash大文件上传(带进度条) NET打包時加入卸载功能 - kingeric - 博客园 c#水晶报表注册码 VS2005项目的安装与布署 让.Net程序脱离.net framework框架运行的方法(转载) 超级实用且不花哨的js代码大全 一级MS软件下载 MyTextBoxControls正式推出第一个版本T1.1.0.1 排列组合与回溯算法 采用正则表达式获取图片地址 Myweb新闻系统,正式推出第一个版本 T1.1.0 弹出一个层屏蔽页面登录 MyPager分页控件 正式推出第一个版本 T 1.1.5 c#:文件对话框(FileDialog)
常用到的一些正则表达式
kingeric · 2007-08-13 · via 博客园 - kingeric

常用到的一些正则表达式

1,获取新闻内容常用到的,如存在新闻HTML

<!--正文开始-->
 <table cellpadding="0" cellspacing="0" width="950" class="vsplit">
 <tr>
 <td width="640" valign="top" class="lc_blue">
<!--正文内容结束-->

采用
<!--正文开始-->

\s+(?<ArticleContent>[\s\S\t]*?)<!--正文内容结束-->
就可以把HTML获取

posted on 2007-08-13 21:47  kingeric  阅读(275)  评论(0)    收藏  举报

刷新页面返回顶部