Regular expression to filter out links in articles
These two rules are both correct, but the first one succeeds and the second one fails. I don’t know why.
//This is successful. / ]*>/g //This failed. /<\/?a.*?>/g
These two rules are both correct, but the first one succeeds and the second one fails. I don’t know why.
//This is successful. / ]*>/g //This failed. /<\/?a.*?>/g