Regular Expressions 101

Library entries

106
javascript

trim

trim string
Submitted by fp - 10 years ago
35
javascript

IP Address validator

Validates IPv4 IP Address
Submitted by krzysp - 8 years ago
31
javascript

Email address (most used)

Email address, most used cases
Submitted by Jago - 8 years ago
16
javascript

http url regex

general purpose HTTP URL regex
Submitted by Miguel Castillo @manchagnu - 8 years ago
15
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 9 years ago
15
javascript

Email (RFC2822)

Email address compliant with RFC2822
Submitted by Jago - 8 years ago
13
javascript

us postal/zip

no description available
Submitted by jay johnson - 9 years ago
12
javascript

Username with "_" "-"

no description available
Submitted by Gianvy - 8 years ago
12
javascript

US Currency Format

no description available
Submitted by anonymous - 7 years ago

Permiso CRE SAT México

Vote

0

Regular Expression
dotnet

@"
^(H\/[0-9]{1,5}\/COM\/[0-9]{4})|(PL\/[0-9]{1,5}\/DIS\/OM\/[0-9]{4})|(G\/[0-9]{1,5}\/COM\/GN\/[0-9]{4})|(G\/[0-9]{1,5}\/DIS\/[0-9]{4})|(G\/[0-9]{1,5}\/DIS\/OM\/[0-9]{4})|(LP\/[0-9]{1,5}\/DIST\/AUT\/[0-9]{4})|(LP\/[0-9]{1,5}\/DIST\/PLA\/[0-9]{4})|(LP\/[0-9]{1,5}\/DIST\/DUC\/[0-9]{4})|(G\/[0-9]{1,5}\/LPD\/[0-9]{4})|(LP\/[0-9]{1,5}\/COM\/[0-9]{4})|(LP\/[0-9]{1,5}\/DIST\/REP\/[0-9]{4})|(PL\/[0-9]{1,5}\/DIS\/DUC\/[0-9]{4})|(SENER-REF-[0-9]{1,3}-[0-9]{4})$
"
gm

Description

Loading markdown...
Submitted by Omar Chávez / Documentación SAT - Comeplemento Nacional CFDIs - 5 months ago