输入Notepad++:<s>asmE/, asyE/, asmA/t, asyA/s, asya/, asmi/n, asyA/m, AByA/m, eBi/s, ABi/s, eBya/s, ABya/s, ezA/m, AsA/m, ezu/, Asu/</s> at http://regex101.com/r/yM2fA1/1
/用于标记来自http://www.sanskrit-lexicon.uni-koeln.de/scans/PWGScan/2013/downloads/pwgxml.zip的XML文档中的重音。但是如果我只计算/,我将得到</s></hom></h>等垃圾的计数。如何排除XML标记?
发布于 2014-10-05 08:33:48
不如:
找到什么:(?<!<)/(?! ?>)
解释:
(?<!<) : lookbehind, there're no < before the slash
/ : slash character to be searched
(?! ?>) : lookahead, there're no > (eventualy preceded by a space) after the slash这是环顾四周上的文档。
发布于 2014-10-04 19:43:12
只作计数用途:
Ctrl+F或单击搜索下拉菜单中的“查找”,然后键入/作为要搜索的内容。现在单击“查找当前文档中的所有内容”。这将给出文档中/的数量。记下号码。
现在重复这个过程,但现在搜索</。计数的不同之处在于对所需搜索的实际计数。
https://stackoverflow.com/questions/26196377
复制相似问题