Using a regular expression to match a div block having a specific ID

前端 未结 5 1812
野性不改
野性不改 2021-01-03 06:42

I\'m trying to match a block of div that have a particular id.. Here\'s my regex code:

]*\\s*id\\s*=\\s*[\"|\']content[\"|\']\\s*>[^/div]         


        
5条回答
提交回复
热议问题