当前位置: 动力学知识库 > 问答 > 编程问答 >

Regex match content of specific html tags without specific attribute

问题描述:

I already have a regex for matching the content of specific html tags:

/<tag[^>]+>(.+?)<\/tag>/ims

but I need to exclude tags that are containing src attribute in any order in their starter tag.

分享给朋友:
您可能感兴趣的文章:
随机阅读: