Regular Expressions 101

Sponsors

Library entries

0
pcre2

Hello World exercise

Find Hello world!
Submitted by viktomas - 25 days ago
0
pcre2

Time Hint

Regex for detecting common date/time formats.
Submitted by Gyen - 25 days ago
1
pcre2

aadhar number

Finds Aadhar number from given string
Submitted by anonymous - a month ago
0
pcre2

nextflow

nextflow grammer
Submitted by anonymous - a month ago
1
pcre2

find all url in <a> in html

for tp
Submitted by anonymous - a month ago
1
pcre2

find text in html

for tp
Submitted by anonymous - a month ago
1
python

surnames

italian uppercase surnames
Submitted by anonymous - a month ago
0
python

AyL

Example of re and substitutions with csv file
Submitted by Ing Daniel Pérez - a month ago
0
dotnet

title and page

find title and page in text
Submitted by anonymous - a month ago

Regex named groups

Vote

0

Regular Expression
pcre2

/
(?:\"load_numbers\"=>\"*\"(?<loadnumbers>[^\"]*)\")|(?:\"app_?id\"=>\"(?<appid>\S+)\")|(?:\"shipper\"=>\"(?<shipper>[^\"]*)\")|(?:\"[Rr]eference[nN]umbers\"=>\[(?<referenceNumbers>[^]]*)\])|(?:\"carrierName\"=>\"(?<carrier>[^\"]*)\")|(?:\"tracking_?id\"=>\"(?<trackingid>[^\"]*)\")
/
gm

Description

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