http://www.crifan.com/files/doc/docbook/rec_soft_npp/release/htmls/npp_func_regex_replace.html
最后写出正确的语法:
查找目标 :
images/env_var/win/(\w+)\.jpg 替换为(P):
images/env_var/win/\1\.png