Regular expression in EditPlus (6) _ Regular expression

Source: Internet
Author: User
Tags regular expression

Nonsense don't say much, look at the following code.

Fbkh, Jiancharq, Shoujianyz, Shoujianyt, Mociyj, Yuchanqi, YINDAOFM, POUGONGC, Yunci, Chanci, Zhiye, Minzu, MINZUMC, Wen HUACD, Xianbings, Xianbingsxs, Jiwangs, Jiwangsxs, JIWANGSXSMC, Sfyunfujzs, Yichuanxjbs, Yichuanxjbsxs, Jingshenbbs, Jin Gshenbbsxs, Zhizhang, ZHIZHANGCD, Zhizhangxs, jixing, Jixingxs, Yunfuqtjzs_rad, Yunfuqtjzs, ZFYICHUANXJBS, Zfyichuanxjbsxs, Zfjingshenbbs, Zfjingshenbbsxs, Zfzhizhang, ZFZHIZHANGCD, Zfzhizhangxs, zfjixing, Zfjixingxs, Zfqtjzs _rad, Zfqtjzs, Gerens, Xiyan, Xiyanxs, Yinjiu, Yinjiuxs, Fuyongyw, Fuyongywxs, Yaowugms, Yaowugmsxs, JIECHUYDYHWZ, Jiechu  Ydyhwzxs, JIECHUFSX, Jiechufsxxs, Waishangs, Waishangsxs, Qitagrs_rad, Qitagrs, Shoushus, Fukeshoushus, Fukeshoushusxs, Qitashoushus, Qitashoushusxs, chuchaonl, Zhouqiomix, Zhouqiomax, Jingqi, Jingqimax, Sfyjsandbys, Biyuns, Biyunsxs, Yunc Hanshi, Bcrszyycqk, Bcrszyycqkxs, BCRSZYYCQKXSMC, Bchyfs, SFYWTGJC, Shengao, Tizhong, Tizhongzs, Jichuszy, Jichussy, Xinl V, Xinl, Xinzangzy, Xinzangzyxs, Xin, xiNXS, Fei, Feixs, QITAYC, Qitaycxs, Fukejc, Waiyin, Waiyinxs, Yindaoy, Yindaoyxs, Gongjingy, Gongjingyxs, ZIGONGJL, Zigong Jlxs, FUJIANZW, Fujianzwxs, SFYWPGWCL, Qiajijj_one, Qiajijj_two, DICHIWJ, CHUKOUHJ, SFYWFZJC, Xuehongdb, BAOXIBJS, Xiexi AOBJS, XUECHANGGUIQT, NIAODANBPJ, Niaotang, Niaotongt, Niaoqianx, Niaobaixq, NIAOCHUANGGUIQT, aboxuexing, rhxuexing, Xue TANGPJ, Xuetangzhi, Xuetz, Xtangz, Xueqinggbzam, Xueqinggczam, Baidb, ZONGDANHS, Jiehehs, XUEQINGJQ, Xueniaosd, YINDAOFM W, Yindaofmwxs, Yindaoqjd, Shayanyyt, LINQIEJJC, Yiganky, Yixgybmkt, Yixgyeky, Yixgyekt, Yixgyhxkt, MEIDUJC, Meidu, HIV,  YGBMKYDX, FMEIDUJC, Fmeidu, Didu, Bchao, Xindiantu, jiazhuangxiangn, tsh, ft3, tt3, FT4, Tt4, ATG, ATPO, GONGJINGTLXBJC, QITAJIANCHASX, Gaoweiys, GAOWEIBM, Gaoweixx, Qtgaoweiys, ZONGTIPG, Zongtipgxs, BAOJIANZD, Chulizd, Youwuzhuanzhen, Zhua Nzhenyuanyin, ZHUANZHENJJBH, ZHUANZHENJJ, Zhuanzhenks, Yuyuerq, Lurur, JIANCHADWBM, JIANCHADW, Tianbiaorq, Tianbiaor, Fu WUJGBH,

The above code is written in the following format:

+ "Fbkh, Jiancharq, Shoujianyz, Shoujianyt, Mociyj, Yuchanqi, YINDAOFM, POUGONGC," + "Yunci, Chanci, Zhiye, Minzu, MINZUMC , WENHUACD, Xianbings, Xianbingsxs, jiwangs, "+" Jiwangsxs, JIWANGSXSMC, Sfyunfujzs, Yichuanxjbs, Yichuanxjbsxs, Jingshen BBS, "+" Jingshenbbsxs, Zhizhang, ZHIZHANGCD, Zhizhangxs, jixing, Jixingxs, "+" Yunfuqtjzs_rad, Yunfuqtjzs, ZFYICHUANXJBS , Zfyichuanxjbsxs, Zfjingshenbbs, "+" Zfjingshenbbsxs, Zfzhizhang, ZFZHIZHANGCD, Zfzhizhangxs, zfjixing, Zfjixingxs, "+" Zfqtjzs_rad, Zfqtjzs, Gerens, Xiyan, Xiyanxs, Yinjiu, Yinjiuxs, Fuyongyw, "+" Fuyongywxs, Yaowugms, Yaowugmsxs, Jiechuydyh  WZ, Jiechuydyhwzxs, JIECHUFSX, "+" Jiechufsxxs, Waishangs, Waishangsxs, Qitagrs_rad, Qitagrs, Shoushus, "+" Fukeshoushus, Fukeshoushusxs, Qitashoushus, Qitashoushusxs, chuchaonl, "+" Zhouqiomix, Zhouqiomax, Jingqi, Jingqimax, Sfyjsandbys, Biy UNS, Biyunsxs, "+" Yunchanshi, Bcrszyycqk, Bcrszyycqkxs, BCRSZYYCQKXSMC, Bchyfs, SFYWTGJC, Shengao, "+" Tizhong, Tizhongzs , Jichuszy, Jichussy, XINLV,Xinl, Xinzangzy, Xinzangzyxs, "+" Xin, Xinxs, Fei, Feixs, QITAYC, Qitaycxs, Fukejc, Waiyin, Waiyinxs, Yindaoy, "+" Yindaoy  XS, gongjingy, Gongjingyxs, ZIGONGJL, Zigongjlxs, FUJIANZW, Fujianzwxs, "+" SFYWPGWCL, Qiajijj_one, Qiajijj_two, DICHIWJ, CHUKOUHJ, SFYWFZJC, xuehongdb, "+" Baoxibjs, Xiexiaobjs, XUECHANGGUIQT, NIAODANBPJ, Niaotang, Niaotongt, Niaoqianx, "+" n IAOBAIXQ, NIAOCHUANGGUIQT, aboxuexing, rhxuexing, XUETANGPJ, Xuetangzhi, Xuetz, "+" Xtangz, Xueqinggbzam, Xueqinggczam, b AIDB, ZONGDANHS, Jiehehs, XUEQINGJQ, "+" Xueniaosd, YINDAOFMW, Yindaofmwxs, Yindaoqjd, Shayanyyt, LINQIEJJC, Yiganky, "+" Yixgybmkt, Yixgyeky, Yixgyekt, Yixgyhxkt, MEIDUJC, Meidu, HIV, YGBMKYDX, "+" FMEIDUJC, Fmeidu, Didu, Bchao, Xindiantu, Jia ZHUANGXIANGN, TSH, ft3, tt3, FT4, "+" Tt4, ATG, Atpo, GONGJINGTLXBJC, qitajianchasx, Gaoweiys, GAOWEIBM, Gaoweixx, "+" QTG Aoweiys, ZONGTIPG, Zongtipgxs, BAOJIANZD, Chulizd, Youwuzhuanzhen, "+" Zhuanzhenyuanyin, ZHUANZHENJJBH, ZHUANZHENJJ, 
Zhuanzhenks, Yuyuerq, Lurur, "+ "JIANCHADWBM, Jianchadw, Tianbiaorq, Tianbiaor, FUWUJGBH," 

Lookup Item Input:^([a-z0-9].*[a-z0-9],)

Replace Item Input:+”\1”

Semantic Analysis:

^ Beginning of line
() Group Representative \1
[A-z0-9] Start
[A-z0-9], end

. Point matches “\r\n” any single character except the one. To match \r\n” any character included, use “[\s\S]” the pattern of the image.

* matches the preceding subexpression any time. For example, zo* can match “z” , also can match “zo” and " zoo” .

A line that matches the [a-z0-9] [a-z0-9] length of any word in the middle can be matched.

The above is a small set to introduce the editplus in the regular expression of the actual combat (6), I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.