Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
(\d+\d+\d+).*新增本土.*确诊病例(\d+).*无症状感染者(\d+).*其中(\d+)例确诊病例为此前无症状.*(\d+)例确诊病例和(\d+)例无症状感染者.*相关风险人群排查中发现
"

Description

"(\d+年\d+月\d+日).*新增本土.*确诊病例(\d+)例.*无症状感染者(\d+)例.其中(\d+)例确诊病例为此前无症状.,(\d+)例确诊病例和(\d+)例无症状感染者.*相关风险人群排查中发现"

Submitted by Mark - 3 years ago