Jus*_* Me 4 notepad++ regex windows-10
我想选择所有文本之间=> 且 =>仅当包含[或]
我爱你
=> predici-video [date] =>在我和她之间。
所以,只有这个 => predici-video [date] =>
(?<==>)[^=>]*[][][^=>]*(?==>)解释:
(?<==>) # positive lookbehind, make sure we have => before
[^=>]* # 0 or more any character that is not = or >
[][] # character class, matches [ or ]
[^=>]* # 0 or more any character that is not = or >
(?==>) # positive lookahead, make sure we have => after
Run Code Online (Sandbox Code Playgroud)
如果您也想捕获=>,请使用:=>[^=>]*[][][^=>]*=>
截图(之前):
截图(后):
| 归档时间: |
|
| 查看次数: |
777 次 |
| 最近记录: |