Regular Expressions 101

Community Library

Community Library Entry

0

Regular ExpressionOpen Workspace

r"
[\d]+\.([\s\S]*?)\n+A.([\s\S]*?)\n+B.([\s\S]*?)\n+C.([\s\S]*?)\n+D.([\s\S]*?)(?=\n)
"
g

Description
Created·2023-07-07 00:59
Type·Match
Flavor·Python

对有ABCD四个选项的选择题题目进行匹配

Submitted by Wang Miao
Open Workspace