REGEX - 所有没有引号的属性

时间:2012-08-09 21:28:13

标签: javascript regex attributes

我有以下html字符串

<span onclick="Popup=window.open('C_SPD').URL;','Popup','menubar=No,toolbar=No,scrollbars=Yes,width=600,height=500,top=20,left=60,resizable=yes');return  fallse;" href="#">xyz</span>

<a href=mailto@abc.com?subject=LongTerm  third=third>esc@abc.com</a>

我需要在缺少的地方放置双引号。

0 个答案:

没有答案