The regularization of the regular a label

For example: replace the a tag with a span tag
var a = input.replace(//g, "'");
var b = a.replace(/</a>/g, "");
var c = b.replace (/href/g, "");

Guess you like

Origin blog.csdn.net/qq_44847590/article/details/128559516