Regular Expressions 101

Library entries

0
dotnet

Any WhiteSpace Character

Any WhiteSpace Character
Submitted by anonymous - 9 months ago
0
dotnet

custom email

custom email
Submitted by anonymous - 9 months ago
0
dotnet

7zip file type regex

header of output from > 7z i
Submitted by ninmonkey - 9 months ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - 9 months ago
0
dotnet

IP Table Parse IPID

Match 1 is the IPID
Submitted by Tres Little - 8 months ago
0
dotnet

URL

(@url)([\s]=[\s])(?:')(.)(?:')(?:;)
Submitted by anonymous - 8 months ago
0
dotnet

Initials

get the initial of a strings
Submitted by Eddie Choong - 7 months ago
1
dotnet

Aus Mobile number

validates against multiple common formats
Submitted by anonymous - 2 months 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