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 15,140 community submitted regex patterns...
2
IP Address
PCRE (PHP <7.3)
IPv4 Address Input
Submitted by
anonymous
-
8 years ago
1
q
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Trim whitespaces regex
PCRE (PHP <7.3)
this is trim-like regex
Submitted by
Giuseppe Tavella
-
8 years ago
1
Letters Only
PCRE (PHP <7.3)
It checks the string to be only letters with no spaces or any other char than a-z and A-z
Submitted by
anonymous
-
8 years ago
1
^((?!^City$)[a-zA-Z '])+$
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Username
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
CI-Bol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Create directories
PCRE (PHP <7.3)
Regex to make sure directories have a "real" name and not code use for scripting/
Submitted by
anonymous
-
8 years ago
1
X user Y response
PCRE (PHP <7.3)
grep logs with X username and Y response code
Submitted by
anonymous
-
8 years ago
1
Only valid if uppercase words (letters + space), minimum 1, maximum 21
ECMAScript (JavaScript)
"ASDF ASDF ASDF ASDF A" OK "ASDF ASDF ASDF ASDF AS" NOK "asfd ASDF ASDF ASDF" NOK "ASDF ASDF ASDF AsdF" NOK "ASDF ASDF ASDF A12F" NOK
Submitted by
Matthias G.
-
8 years ago
1
Reg1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Reg2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Posible regex para variables mailmarketing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Number Validation
ECMAScript (JavaScript)
Number validation in Javascript. Abit too contrived
Submitted by
b0tman
-
8 years ago
1
Shortcode Js
ECMAScript (JavaScript)
[shortcode attr="data"]
Submitted by
khiconit
-
8 years ago
1
"GP0|#8c3bbce0-620b-4e68-8567-28ff6fa42712;L0|#08c3bbce0-620b-4e68-856
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
PCRE (PHP <7.3)
(am|sg){0,1}(invoice){0,1}(\d*){0,1}
Submitted by
dat.dao
-
8 years ago
0
Get shortcode
PCRE (PHP <7.3)
Get shortcode
Submitted by
khiconit
-
8 years ago
1
Regex Shortcode
PCRE (PHP <7.3)
Check shortcode
Submitted by
khiconit
-
8 years ago
1
Test
ECMAScript (JavaScript)
Test
Submitted by
Test
-
8 years ago
1
...
520
521
522
523
524
...
757
Culture File Name Extraction
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
.
*
\\
)?
(?:
.
+
\.
)?
(
.
+
)
(?<!
\.
min
)
(?:
(
\.
min
)?
\.
js
)
$
/
gm
Open regex in editor
Description
Extracts the culture name from a javascript file. Works with minified and non minified files.
Submitted by
Lucas Martin
-
9 years ago