Regular Expressions 101

Sponsors

Library entries

0
java

Remove duplicate lines in sorted text

See
Submitted by @atnbueno - 7 months ago
0
python

Loan Amount

Recognizing loan amount
Submitted by anonymous - 7 months ago
0
python

URL

Recognizing URLs
Submitted by anonymous - 7 months ago
0
python

Email validator

Email validator
Submitted by anonymous - 6 months ago
0
python

Password

Strong passwords validator.
Submitted by anonymous - 6 months ago
0
python

validando e_mail

validando email
Submitted by anonymous - 6 months ago
0
java

ISO 3166-1 alpha-3

ISO 3166-1 alpha-3 countries for validation
Submitted by anonymous - 6 months ago
0
python

JSON string

Can process a JSON string
Submitted by Mass - 6 months ago
0
python

Domain Matching

Avoids false positives
Submitted by Sly - 6 months ago

Time grabber

Vote

0

Regular Expression
python

"
(?:(?<!\d|\-|\+|\.)(?P<ch_a>[\u4e00-\u9fff]{2})?(?P<Hours>[0-2]?\d)(?:[:\.时時]| ?h ?)(?P<Minutes>[0-5]\d(?!\d))\:?(?:(?:[:\.]| ?m ?)(?P<Seconds>[0-5]\d(?!\d)))??(?:[,\.](?P<SecodsFraction>\d{9}|\d{6}|\d{3}(?!\d)))?(?:\ \w\W)?(?:[\.\s]?(?:(?P<Z>(?:[a-zA-Z]{3,5}|Z|\[\w+\/\w+\])|(?:[+-]\d\d?\:?[0,3,4]?[0,5]?))|(?P<a>[dapmDAPM]{2})))*(?!\S))
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago