当前位置:网站首页>Notepad++ regular expression replacement string
Notepad++ regular expression replacement string
2022-07-06 00:16:00 【one billion three hundred and ninety million eight hundred and 】
Be careful :Notepad++ The maximum length of regular expression string cannot exceed 69 Characters 
expression explain
/t tabs .
/n New line .
. Match any character .
| Match the characters to the left and right of the expression . for example , "ab|bc" matching "ab" perhaps "bc".
[] Match any single character in the list . for example , "[ab]" matching "a" perhaps "b". "[0-9]" Match any number .
[^] Match any single character outside the list . for example , "[^ab]" matching "a" and "b" Characters other than . "[^0-9]" Match any non numeric character .
* The character on the left is matched any number of times (0 Time , Or many times ). for example "be*" matching "b", "be" perhaps "bee".
+ The character to the left of it is matched at least once (1 Time , Or many times ). for example "be+" matching "be" perhaps "bee" But it doesn't match "b".
? The character on the left is matched 0 Time or 1 Time . for example "be?" matching "b" perhaps "be" But it doesn't match "bee".
^ The expression on the right is matched at the beginning of a line . for example "^A" Just match to "A" Beginning line .
$ The expression on the left is matched at the end of a line . for example "e$" Just match to "e" The line at the end .
() Affects the order in which expressions match , And used as a grouping marker for expressions .
/ Escape character . If you want to use it "/" In itself , Should be used "//".
contain “hello word” The line of
^.hello word.$
With “hello word” The first line
^hello word.*$
With “hello word” The line at the end
.*hello word$
Search result processing
Line 8: </item><item> <word>social media</word>
Line 15: </item><item> <word>constant</word>
Line 24: </item><item> <word>row</word>
Line 33: </item><item> <word>approach</word>
Line 41: </item><item> <word>exam</word>
Line 48: </item><item> <word>alarm</word>
Line 56: </item><item> <word>obviously</word>
Line 63: </item><item> <word>urgently</word>
Remove the front Line
^.*Line.*:
边栏推荐
- Global and Chinese markets for pressure and temperature sensors 2022-2028: Research Report on technology, participants, trends, market size and share
- DEJA_ Vu3d - cesium feature set 055 - summary description of map service addresses of domestic and foreign manufacturers
- Asynchronous task Whenall timeout - Async task WhenAll with timeout
- 妙才周刊 - 8
- 转:未来,这样的组织才能扛住风险
- Codeforces gr19 D (think more about why the first-hand value range is 100, JLS yyds)
- 【在线聊天】原来微信小程序也能回复Facebook主页消息!
- 云呐|公司固定资产管理系统有哪些?
- MySql——CRUD
- Classical concurrency problem: the dining problem of philosophers
猜你喜欢

MySql——CRUD

PV static creation and dynamic creation

What are Yunna's fixed asset management systems?

Tools to improve work efficiency: the idea of SQL batch generation tools

FFMPEG关键结构体——AVFrame

Hudi of data Lake (2): Hudi compilation

Browser local storage

Configuring OSPF load sharing for Huawei devices

关于slmgr命令的那些事
![Atcoder beginer contest 258 [competition record]](/img/e4/1d34410f79851a7a81dd8f4a0b54bf.gif)
Atcoder beginer contest 258 [competition record]
随机推荐
7.5 装饰器
NSSA area where OSPF is configured for Huawei equipment
2022.7.5-----leetcode.729
从底层结构开始学习FPGA----FIFO IP核及其关键参数介绍
硬件及接口学习总结
GD32F4xx uIP协议栈移植记录
[Chongqing Guangdong education] reference materials for Zhengzhou Vocational College of finance, taxation and finance to play around the E-era
DEJA_VU3D - Cesium功能集 之 055-国内外各厂商地图服务地址汇总说明
[Luogu cf487e] tours (square tree) (tree chain dissection) (line segment tree)
【在线聊天】原来微信小程序也能回复Facebook主页消息!
提升工作效率工具:SQL批量生成工具思想
Hudi of data Lake (1): introduction to Hudi
18.(arcgis api for js篇)arcgis api for js点采集(SketchViewModel)
【QT】Qt使用QJson生成json文件并保存
wx. Getlocation (object object) application method, latest version
JS can really prohibit constant modification this time!
Cloudcompare & PCL point cloud randomly adds noise
notepad++正则表达式替换字符串
跟着CTF-wiki学pwn——ret2libc1
What are the functions of Yunna fixed assets management system?