![](/img/trans.png)
[英]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.