当前位置:网站首页>Notepad + + regular expression replace String
Notepad + + regular expression replace String
2022-07-06 00:16:00 【139081049】
Attention!:Notepad++La longueur maximale de la chaîne d'expression régulière ne peut dépasser69Caractères
Expression Description
/t Tabulation.
/n Nouvelle ligne.
. Correspond à n'importe quel caractère.
| Correspond aux caractères à gauche et à droite de l'expression. Par exemple, "ab|bc" Ça correspond "ab" Ou "bc".
[] Correspond à n'importe quel caractère de la liste. Par exemple, "[ab]" Ça correspond "a" Ou "b". "[0-9]" Correspond à n'importe quel nombre.
[^] Correspond à n'importe quel caractère en dehors de la liste. Par exemple, "[^ab]" Ça correspond "a" Et "b" Autres caractères. "[^0-9]" Correspond à n'importe quel caractère non numérique.
* Le caractère à gauche correspond à n'importe quelle fois(0Une fois,Ou plusieurs fois). Par exemple "be*" Ça correspond "b", "be" Ou "bee".
+ Le caractère à gauche correspond au moins une fois(1Une fois,Ou plusieurs fois). Par exemple "be+" Ça correspond "be" Ou "bee" Mais ça ne correspond pas "b".
? Les caractères à gauche correspondent0Une fois ou1Une fois. Par exemple "be?" Ça correspond "b" Ou "be" Mais ça ne correspond pas "bee".
^ L'expression à droite correspond au début d'une ligne. Par exemple "^A" Juste pour correspondre à "A" Ligne de début.
$ L'expression à gauche correspond à la fin d'une ligne . Par exemple "e$" Juste pour correspondre à "e" Fin de la ligne.
() Influence l'ordre dans lequel les expressions correspondent , Et utilisé comme marqueur de groupe pour l'expression .
/ Caractère d'évasion. Si vous utilisez "/" En soi, Doit être utilisé "//".
Contient“hello word”Oui.
^.hello word.$
Par“hello word”Ligne de départ
^hello word.*$
Par“hello word”Fin de la ligne
.*hello word$
Traitement des résultats de la recherche
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>
Enlevez l'avant Line
^.*Line.*:
边栏推荐
- 【DesignMode】适配器模式(adapter pattern)
- Hardware and interface learning summary
- 18.(arcgis api for js篇)arcgis api for js点采集(SketchViewModel)
- Problems encountered in the database
- 云呐|公司固定资产管理系统有哪些?
- Tools to improve work efficiency: the idea of SQL batch generation tools
- [gym 102832h] [template] combination lock (bipartite game)
- PV static creation and dynamic creation
- NSSA area where OSPF is configured for Huawei equipment
- Zhongjun group launched electronic contracts to accelerate the digital development of real estate enterprises
猜你喜欢

Upgrade openssl-1.1.1p for openssl-1.0.2k

Detailed explanation of APP functions of door-to-door appointment service

多线程与高并发(8)—— 从CountDownLatch总结AQS共享锁(三周年打卡)

Hudi of data Lake (1): introduction to Hudi

Ffmpeg learning - core module

Single merchant v4.4 has the same original intention and strength!

Effet Doppler (déplacement de fréquence Doppler)

Doppler effect (Doppler shift)

Knowledge about the memory size occupied by the structure

多普勒效應(多普勒頻移)
随机推荐
18. (ArcGIS API for JS) ArcGIS API for JS point collection (sketchviewmodel)
FFT 学习笔记(自认为详细)
单商户V4.4,初心未变,实力依旧!
【NOI模拟赛】Anaid 的树(莫比乌斯反演,指数型生成函数,埃氏筛,虚树)
[day39 literature extensive reading] a Bayesian perspective on magnetic estimation
Cloudcompare & PCL point cloud randomly adds noise
Configuring OSPF load sharing for Huawei devices
CloudCompare&PCL 点云随机添加噪声
【GYM 102832H】【模板】Combination Lock(二分图博弈)
7.5 装饰器
Senparc.Weixin.Sample.MP源码剖析
Ffmpeg learning - core module
提升工作效率工具:SQL批量生成工具思想
Key structure of ffmpeg -- AVCodecContext
The global and Chinese markets of dial indicator calipers 2022-2028: Research Report on technology, participants, trends, market size and share
[designmode] Decorator Pattern
Global and Chinese market of digital serial inverter 2022-2028: Research Report on technology, participants, trends, market size and share
FFMPEG关键结构体——AVCodecContext
VBA fast switching sheet
MySql——CRUD