我想用字符串替换每次出现的数字:???
。
这是一个示例字符串:
<em>Chelsea</em> 1-4 Atletico Madrid
如何在 JavaScript 中做到这一点?
<a href="https://www.google.com/url?sa=t&source=web&cd=9&cad=rja&ved=0CFEQtwIwCA&url=http%3A%2F%2Fwww.whoateallthepies.tv%2Fchelsea%2F137070%2Fsuper-cup-chelsea-1-4-atletico-madrid-falcao-on-fire-as-blues-flop-in-monaco-photos-highlights.html&rct=j&q=chelsea&ei=1odBUImpBIWA0AWM1oC4BA&usg=AFQjCNEwdCCckt15XTkHSAf2fsUnGk9IJg&sig2=IOrD6hfMrviW9ods0DG2dw" class="l" onmousedown="return rwt(this,'','0','','9','AFQjCNEwdCCckt15XTkHSAf2fsUnGk9IJg','IOrD6hfMrviW9ods0DG2dw','0CFEQtwIwCA',null,event)" title="Super Cup: Chelsea 1-4 Atletico Madrid – Falcao On Fire As Blues Flop In Monaco (Photos ...">Super Cup: <em>Chelsea</em> 1-4 Atletico Madrid – Falcao On <b>...</b></a>
提前致谢。