I currently have this line:
this.html(this.html().replace(/\x3C\x2F?[^\x3E]+\x3E/gi, ''));
But I would like something like "if" lines to say:
IF (this.tag = "<a") {
do nothing
} ELSE {
remove tag
}
I don’t think anyone has any ideas?
[EDIT]: I think I might need a “FOR EVERYONE” loop ... I think .... [/ EDIT]
^. ^
source
share