﻿//每一行表示一条替换规则  用//开头表示是注释
//每条规则共有五个参数 使用|-|进行分割 可以不添加完整参数
//第一个参数 被替换是字符串
//第二个参数 替换是字符串 默认是空字符串
//第三个参数 是否使用正则表达式 默认是不使用
//第四个参数 正则表达式 的参数 默认是gim
//第五个参数 响应的事件 默认是plugins_autostyleset_after 目前所有事件 afterpaste, plugins_autostyleset_before, plugins_autostyleset_after

//下面是删除的

//删除 begin

[保存到相册]|-||-||-||-|plugins_autostyleset_after
[微博]|-||-||-||-|plugins_autostyleset_after
【点击查看高清组图】|-||-||-||-|plugins_autostyleset_after
\(实习生([\w\W]*?)\/文\)|-||-|regular|-|gim|-|plugins_autostyleset_after
\(责任编辑：[\w\W]*?\)|-||-|regular|-|gim|-|plugins_autostyleset_before

//处理新浪新闻中新浪微博
\<ol\s+?([a-zA-Z"=:; 0-9\-\\\>\s]*?)\sid=\"weiboList1\"([\w\W]*?)\<\/ol\>|-||-|regular|-|gim|-|plugins_autostyleset_before
//处理搜狐娱乐相关
\[(相关|热点)\]\<a ([\w\W]*?)href\=\"http\:\/\/([\w\W]*?)\.sohu\.com([\w\W]*?)\<a([\w\W]*?)\<\/a\>|-||-|regular|-|gim|-|plugins_autostyleset_before
(\<a style\=\"BACKGROUND-IMAGE\: url\(http\:\/\/news.sohu.com\/upload\/article\/2012\/images\/video_icon.gif([\w\W]*?)\<\/a\>){2}|-||-|regular|-|gim|-|plugins_autostyleset_before


//删除 end

//下面是替换的

//替换 begin

&nbsp;|-| |-||-||-|plugins_autostyleset_before
<b>|-|<strong>|-||-||-|plugins_autostyleset_before
</b>|-|</strong>|-||-||-|plugins_autostyleset_before
　　<strong>　　|-|　　<strong>|-||-||-|plugins_autostyleset_after
//处理搜狐娱乐 图片上的数字
(\<img [^>]*? src\=\"http\:\/\/photocdn\.sohu\.com\/[^<>]*?\"\/\>)[\s]*?\<p\>[\d]*?\<\/p\>([\w\W]*?保存到相册)|-|$1$2|-|regular|-|gim|-|afterpaste
(\<img [^>]*? src\=\"http\:\/\/photocdn\.sohu\.com\/[^<>]*?\"\/\>\<\/a\>)[\s]*?\<p\>[\d]*?\<\/p\>([\w\W]*?【点击查看高清组图】)|-|$1$2|-|regular|-|gim|-|afterpaste

//替换 end
