Removing html tags what is the difference between `*?` and `*`?

This question already has an answer here:

  • Greedy vs. Reluctant vs. Possessive Quantifiers 7 answers

  • Question: Is the *? in the expression is equivalent to * .

    No. The latter is the greedy quantifier that matches as much characters as possible. cf. http://www.regular-expressions.info/refrepeat.html

    链接地址: http://www.djcxy.com/p/76912.html

    上一篇: RegEx重叠字符串

    下一篇: 删除html标签`*?`和`*`之间的区别是什么?