Regular Expressions 101

Sponsors

Library entries

1
pcre2

BIC Codes

BIC (Bank Identifier Code) #fin #bank #swift #iban #bic
Submitted by anonymous - a year ago
1
pcre2

Detect any integer larger than 499

Glad this helps for some
Submitted by Wallik - a year ago
1
pcre2

https

regex for url
Submitted by anonymous - a year ago
1
pcre2

Internation Phone

phone number with country code + or 00
Submitted by anonymous - a year ago
1
pcre2

Name

English or Arabic Letters and Spaces
Submitted by anonymous - a year ago
1
pcre2

Validate a 10-digit US Phone Number

Validate a 10-digit US Phone Number
Submitted by JB - a year ago
1
pcre2

Obsidian external embedded link

Obsidian external embedded link
Submitted by arezvov - a year ago
1
pcre2

pack_size

get pack_size from a string
Submitted by anonymous - a year ago

web log entry

Vote

2

Regular Expression
pcre2

/
(?P<host>\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3})(\s-\s)(?P<user_name>[\w-]*)(\s\[)(?P<time>\w*\/\w*\/\d{1,4}:\d{1,2}:\d{1,2}:\d{1,2}\s-\d{1,4})(\]\s\")(?P<request>.*)(")
/
gm

Description

Loading markdown...
Submitted by PepeRG - a year ago