Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 8,040 community submitted regex patterns...
0
gitignore example
PCRE2 (PHP >=7.3)
gitignore example
Submitted by
anonymous
-
a year ago
0
Tool Call
Python
f
Submitted by
anonymous
-
a year ago
0
Find SQL injection opportunities
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
a year ago
0
ABN (Australian Business Number)
PCRE2 (PHP >=7.3)
Checks for presence of ABN only. Does not validate ABN.
Submitted by
nD
-
a year ago
0
upload paths
PCRE2 (PHP >=7.3)
upload paths
Submitted by
anonymous
-
a year ago
0
myspace
PCRE2 (PHP >=7.3)
myspace
Submitted by
anonymous
-
a year ago
0
property and value capture
ECMAScript (JavaScript)
capture property and value which have color attribute in it
Submitted by
Keshav
-
a year ago
0
semantic-release
PCRE2 (PHP >=7.3)
Teste semantic release
Submitted by
leonardo.mendes
-
a year ago
0
regex for del
PCRE2 (PHP >=7.3)
Deletes all .dta and .dba files that one wants within a directory
Submitted by
anonymous
-
a year ago
0
C Macros
PCRE2 (PHP >=7.3)
Regular expression to match C macros specified with the #define directive.
Submitted by
Alejandro
-
a year ago
(Last modified a year ago)
0
DK CPR Validation
PCRE2 (PHP >=7.3)
Checks in input for matching social security numbers in Denmark
Submitted by
Found online
-
a year ago
0
AAU CPR validation (more rebust)
PCRE2 (PHP >=7.3)
This one makes sure to not match 31 in months where it does not exist and cuts off february at 28. Might need to do special check for 29th of february ..?
Submitted by
anonymous
-
a year ago
0
PSMFC-ELogUserRegex
PCRE2 (PHP >=7.3)
allow simple usernames starting with a letter, containing . - and _ or an email
Submitted by
anonymous
-
a year ago
0
Custom HTML/JavaScript email input validation
ECMAScript (JavaScript)
Only meant as an initial client-side filter to override the default input[type=email] validation done according to spec, which is much too simple. Inputs passing this regex MUST get validated in a more fine-grained manner again when received on the server-side
Submitted by
Neel Yadav
-
a year ago
(Last modified a year ago)
0
Extract domain and URI from an URL (no auth support)
ECMAScript (JavaScript)
This regex is used to extract a domain name (including subdomains) and the full URI from a URL. will not match when credentials are provided in the url.
Submitted by
anonymous
-
a year ago
0
PCRE destination filename matcher
PCRE2 (PHP >=7.3)
Matches the most advanced filename for a given version as per my file naming conventions.
Submitted by
Robert Larkins
-
a year ago
0
Get All inst of Characters Name
Python
Standard Script format tv
Submitted by
SummerRay
-
a year ago
0
patternmatching
PCRE2 (PHP >=7.3)
pattern to ensure keywords are picked up if words on either side
Submitted by
anonymous
-
a year ago
0
Start with t or T and some number and End with <String>
PCRE2 (PHP >=7.3)
Some custom pattern matching where a string start with t and end with any string, for example - t123_click, t1234_click_submit, T12_click_click_skip
Submitted by
Jaswinder
-
a year ago
0
find all wikipedia links in a text
PCRE2 (PHP >=7.3)
a regex that finds all expressions that start with "(https://en.wikipedia.org/wiki" and end with a closing bracket.
Submitted by
David
-
a year ago
1
...
372
373
374
375
376
...
402
us postal/zip
14
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
10 years ago