[英]Notepad++ regular expression replace
我需要用$options_css['any_letter_number']
替換get_option('any_letter_number')
在記事本++中,我可以用get_option\\('.*?'\\)
匹配我需要的東西,但是用$options_css\\['.*?'\\]
替換它$options_css\\['.*?'\\]
不起作用。
任何幫助將不勝感激。
謝謝!
在正則表達式替換中,您使用$1
引用捕獲的子模式。
get_option\('(.*?'\)
// replace with:
$options_css['$1']
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.