去掉 还是 取到? 也不指明语言 js '[name="abc"]'.replace(/["\[\]]/, ''); php $str = '[name="abc"]'; preg_replace('/["\[\]]/', '', $str);
去掉 还是 取到?
也不指明语言
js
php