记事本++正则表达式替换 [英] Notepad++ regular expression replace
本文介绍了记事本++正则表达式替换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Notepad++中将get_option('any_letter_number')
替换为$options_css['any_letter_number']
,我可以使用get_option('.*?')
匹配我需要的内容,但替换为$options_css['.*?']
不起作用。
如有任何帮助,我们将不胜感激。
谢谢!
推荐答案
在正则表达式替换中,使用$1
引用捕获的子模式。
get_option('(.*?')
// replace with:
$options_css['$1']
这篇关于记事本++正则表达式替换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文