Select element with special character with regex and Python

前端 未结 0 769
春和景丽
春和景丽 2021-01-02 08:24

From a list of strings (\'16\',\'160\',\'1,2\',\'1\',\'16:\',\'16:00\'), I want to keep only the elements that

  1. either have a comma between two digits (e.g. 1,2
相关标签:
回答
  • 消灭零回复
提交回复
热议问题