[英]Regex Filtering through html to find a word but not inside of a table header
[英]Regex - ignore inside word + html
尝试从以下有限的正则表达式知识中选择“内容”一词(使用javascript):
Here is content <p>content</p> content. Content contentpeople peoplecontent peoplecontentpeople
([\\S]*)content([\\S]*)
使用\\b
,即单词边界元字符,即
/\bcontent\b/g
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.