Login

Regular expression to filter out links in articles

Author:neo yang Time:2023/05/26 Read: 8860

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
tags:


copyright © www.lyustu.com all rights reserved.
Theme: TheMoon V3.0. Author:neo yang