记事本++正则表达式在代码中搜索和替换

notepad++ regex search and replace in code

我要转换

$this->cols['project_nr']['value']

进入

$this->project_nr

使用记事本++,使用正则表达式搜索和替换。

试试这个...

查找内容:cols\['(.*?)'(.*\])
替换为: