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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 15,280 community submitted regex patterns...
1
Lua Syntax
PCRE2 (PHP >=7.3)
finds and replaces square bracketed string literals with period and the field name
Submitted by
Andrew Stevens
-
9 months ago
(Last modified 9 months ago)
1
Best email regex including + (plus) and everything else
PCRE2 (PHP >=7.3)
The best regular expression for emails, including the + (plus) sign for every possible valid email in 2023.
Submitted by
Jérôme Brunel
-
9 months ago
1
Simple scientific notation
PCRE2 (PHP >=7.3)
allowed: 123 123.234 123.234E13 +123.234E-412 -.234E-12
Submitted by
Romzikon
-
9 months ago
1
match "baseip/cidr"
PCRE2 (PHP >=7.3)
match "baseip/cidr"
Submitted by
Erik
-
9 months ago
1
Thai Home Telephone Validation
PCRE2 (PHP >=7.3)
refer to https://mobile.kapook.com/view7358.html
Submitted by
Chadin Chaipornpisuth
-
9 months ago
1
Alpha Numeric With Spaces & Limited Punctuation
ECMAScript (JavaScript)
This allows multiple continuous strings of only alpha numeric characters & limiting punctuation to: ?().,'+ /:@-
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)
1
Regexp for IPv4 or IPv6 CIDR entry
PCRE2 (PHP >=7.3)
Helps to find IPv4 or IPv6 CIDR entry in any text.
Submitted by
anonymous
-
9 months ago
2
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
9 months ago
1
Standard URI Groups
PCRE2 (PHP >=7.3)
Split URI parts into usable groups based on PCRE2 Regex
Submitted by
Gashbeer
-
9 months ago
1
groupping math every 2 comma separator
PCRE (PHP <7.3)
i have paste \n after every 2-th comma using sed sed 's/\(\(*,\)\{2\}\)/\1\n/g'
Submitted by
sanekmihailow
-
9 months ago
1
din-91379.datatypeC
PCRE2 (PHP >=7.3)
DE Der Datentyp C wurde für alle normativen Schriftzeichen der DIN-Norm entworfen. Er ist somit die technische Umsetzung der Schnittstellenvereinbarung Alle nach Norm DIN 91379 normativen Schriftzeichen. Texte mit griechischen oder kyrillischen Buchstaben oder mit erweiterten (nicht-normativen) Nich...
Submitted by
rhildebr
-
9 months ago
1
Regex URL validation pattern
ECMAScript (JavaScript)
Regex URL validation pattern
Submitted by
Septian Maulana
-
9 months ago
1
#MGBookChat
PCRE2 (PHP >=7.3)
The hashtag that identifies topics in middle-grade literature.
Submitted by
LHnatiuk
-
9 months ago
1
Get Decathlon Product URL
PCRE2 (PHP >=7.3)
Match decathlon product detail url
Submitted by
anonymous
-
9 months ago
1
Regex to find URLs in text
ECMAScript (JavaScript)
Regex to find URLs in text
Submitted by
Saheed Odulaja
-
9 months ago
1
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
9 months ago
1
TV/Movie
PCRE2 (PHP >=7.3)
This is my first attempt so umm ya .. Grab Filename: Fname Season: se Episode: ep Year: yr
Submitted by
TheMorgue
-
9 months ago
(Last modified 9 months ago)
1
Discord Token Regex
PCRE2 (PHP >=7.3)
Regex that will verify if a valid token has been provided. This comes directly from Discord's source.
Submitted by
Discord
-
9 months ago
1
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
9 months ago
1
Cron Job Regular Expression for JavaScript / ECMAScript
ECMAScript (JavaScript)
Simple pattern for validating Cron Job descriptors in your JavaScript / TypeScript / ECMAScript projects. Includes support for date ranges, day ranges, digit ranges, divisors... all of the things you'd expect to encounter in possible Cron values.
Submitted by
Nicholas Berlette (https://github.com/nberlette)
-
9 months ago
1
...
19
20
21
22
23
...
764
groupping math every 2 comma separator
1
Regular Expression
PCRE (PHP <7.3)
/
(
(
[^
,
]
*
,
){2}
)
/
gm
Open regex in editor
Description
i have paste \n after every 2-th comma using sed
sed 's/\(\([^,]*,\)\{2\}\)/\1\n/g'
Submitted by
sanekmihailow
-
9 months ago