Regular Expressions 101

Community Patterns

1

ActivityWatcher

.NET 7.0 (C#)
sda
Submitted by anonymous - a month ago
1

instagram url

Python
gets the url instagram
Submitted by samuel06santos - 4 months ago
1

Extract tag name and its content

Python
Lrc file
Submitted by Cricar - 5 months ago
1

Match each tag

Python
Match each tag in a lrc file
Submitted by Cricar - 5 months ago

Comprehensive PO Box detection (with generator code in Javascript)

1

Regular Expression
ECMAScript (JavaScript)

/
\b(((?:(P(?:ost(?:al)?)?)[ ./\-_]*(O(?:ff(?:ice)?)?)?[ ./\-_]*(b(?:o?x|in)?))|(?:(P(?:ost(?:al)?)?)[ ./\-_]*(O(?:ff(?:ice)?)?)[ ./\-_]*(b(?:o?x|in)?)?)|(?:(?<!(r(?:ural)?[ ./\-_]*r(?:oute)?)[ ./\-_]*((n\.?(?:o|um(?:ber)?)?\.?)?[ ./\-_]*#*[ ./\-_]*(\d+))?[ ./\-_]*)(box|bin)))[ ./\-_]*((n\.?(?:o|um(?:ber)?)?\.?)?[ ./\-_]*#*[ ./\-_]*(\d+)))\b
/
gmi

Description

Loading markdown...
Submitted by TheSecurityDev - 7 months ago
(Last modified 7 months ago)