Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试在这段代码中找到一个带有[\/][^]表达式的斜线:
[\/][^]
<td>12321/213213</td>
但它不起作用(...
想象一下它是如何在这里工作的:
如果您只是为此一次查找/替换寻找正则表达式,则以下正则表达式有效:
\b\/\b
\b意思是词边界
\b
用红字测试