Regular Expressions 101

Sponsors

Library entries

0
pcre2

CEP Regex Brazil

Regex para validação de CEP
Submitted by Jasmini Santos - 12 hours ago
0
dotnet

sdfsfd

sdfdsf
Submitted by anonymous - 16 hours ago
0
python

EC21 docs

Get AT explain
Submitted by anonymous - a day ago
0
python

Android Package REgex

Not perfect but works
Submitted by anonymous - 2 days ago

完形填空答案提取

Vote

0

Regular Expression
python

"""
^\(?.*?(?P<qno>\d{1,2})[\)\.]\s? \s? A\.?\s?(?P<A>.+?) \s+ B\.?\s?(?P<B>.+?) \s+ C\.?\s?(?P<C>.+?) \s+ D\.?\s?(?P<D>.+$)
"""
gmxi

Description

Loading markdown...
Submitted by anonymous - 3 months ago