Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Regex-忽略内部word+html_Javascript_Html_Regex - Fatal编程技术网

Javascript Regex-忽略内部word+html

Javascript Regex-忽略内部word+html,javascript,html,regex,Javascript,Html,Regex,尝试使用javascript和我有限的正则表达式知识从下面选择单词内容: 这里是contentcontentcontent。Content-contentpeople-contentpeople使用\b,即 使用\b,即 使用\b,即 使用\b,即 /\bcontent\b/g

尝试使用javascript和我有限的正则表达式知识从下面选择单词内容:

这里是contentcontent

content。Content-contentpeople-contentpeople使用\b,即

使用\b,即

使用\b,即

使用\b,即

/\bcontent\b/g