![](/img/trans.png)
[英]Javascript Remove all charater except leading - , one dot and digits
[英]Remove all lines except those containing one dot
我有一個數據列表(抽象),我需要刪除所有包含一個以上點或不包含任何點的行。 例:
two.dots.are.too.much
onedot.isacceptable
more.than.one.dot.needs.to.be.removed
zerodotsarenotacceptable
在這種情況下,我只需要保留第二個短語,只包含一個點( .
)。 如何在Notepad ++中使用RegEx做到這一點?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.