我从PDF中提取了单词,我注意到要点被转换为o
原文:
提取的文本(o
不是从行的开头开始,我只是为了可读性而格式化了它):
o Organize and coordinate ad hoc task forces for specific topics based on demand from AFR100 countries o Keep document repository for AFR100 including documentation of focal points, pledge and affiliation documents, progress information from countries, etc. o Treatment of demands from countries and identification of potential technical partners to assist together with the support of the MT
所以我想知道,只有当o
不在一个单词中时,我如何删除它
您可以使用此正则表达式:
输出:
正则表达式中的
\b
是一个单词边界,因此,请查找两边各有一个单词边界的o
,即由一个o
的出现组成的单词相关问题 更多 >
编程相关推荐