dimanche 6 décembre 2020

How to exclude tags url to regex?

The current code is excluding the test link but not the test url.

Please see my current code here:

var regexp = new RegExp( "\\b(" +  data.title + ")\\b(?![^<a]*>|[^<>]*</a>)"  , 'i');

Aucun commentaire:

Enregistrer un commentaire