当前位置:网站首页>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.*:
边栏推荐
- LeetCode 6004. Get operands of 0
- FFMPEG关键结构体——AVCodecContext
- Ffmpeg learning - core module
- Single merchant v4.4 has the same original intention and strength!
- 软件测试工程师必会的银行存款业务,你了解多少?
- Zhuan: in the future, such an organization can withstand the risks
- QT a simple word document editor
- 云呐|公司固定资产管理系统有哪些?
- MySQL global lock and table lock
- Global and Chinese market of valve institutions 2022-2028: Research Report on technology, participants, trends, market size and share
猜你喜欢

选择致敬持续奋斗背后的精神——对话威尔价值观【第四期】

Key structure of ffmpeg - avformatcontext

Key structure of ffmpeg -- AVCodecContext

【NOI模拟赛】Anaid 的树(莫比乌斯反演,指数型生成函数,埃氏筛,虚树)

Permission problem: source bash_ profile permission denied

Ffmpeg learning - core module

Mathematical model Lotka Volterra

FFT learning notes (I think it is detailed)

云呐|固定资产管理系统主要操作流程有哪些
![N1 # if you work on a metauniverse product [metauniverse · interdisciplinary] Season 2 S2](/img/f3/8e237296f5948dd0488441aa625182.jpg)
N1 # if you work on a metauniverse product [metauniverse · interdisciplinary] Season 2 S2
随机推荐
Qt 一个简单的word文档编辑器
AtCoder Beginner Contest 258【比赛记录】
STM32 configuration after chip replacement and possible errors
Room cannot create an SQLite connection to verify the queries
转:未来,这样的组织才能扛住风险
【NOI模拟赛】Anaid 的树(莫比乌斯反演,指数型生成函数,埃氏筛,虚树)
[designmode] adapter pattern
传输层协议------UDP协议
LeetCode 6005. The minimum operand to make an array an alternating array
亲测可用fiddler手机抓包配置代理后没有网络
About the slmgr command
Zhongjun group launched electronic contracts to accelerate the digital development of real estate enterprises
Doppler effect (Doppler shift)
Key structure of ffmpeg - avframe
时区的区别及go语言的time库
QT -- thread
Laser slam learning record
Qt QPushButton详解
第16章 OAuth2AuthorizationRequestRedirectWebFilter源码解析
【DesignMode】组合模式(composite mode)