所以我知道\ bBlah\b将匹配整个Blah,但它也会匹配Blah的"Blah.jpg"我不想要它.我想只用两边的空格来匹配整个单词.
javascript regex
javascript ×1
regex ×1