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 6,120 community submitted regex patterns...
1
One letter in row
PCRE2 (PHP >=7.3)
([a-z])(?!.*\1)
Submitted by
anonymous
-
8 months ago
1
Patron de Blogs
PCRE2 (PHP >=7.3)
Patron para la busqueda de URLS En sitemaps de blogs
Submitted by
anonymous
-
8 months ago
1
URL (URI) - TOTAL Breakdown: Named Groups (Supporting Literal, Relative, Dynamic URLs, with/without Filename/Ext, Query Parameters and/or Anchor Tags)
ECMAScript (JavaScript)
Need to FULLY Break Out EVERY Component of a URL? Like, as in "every constituent element individually accessible in its own named capture group?" Need it to be pre-optimized and fully ECMA-compliant? Want to see exhaustive unit tests proving these claims (144 are included; all 144 execute in 6.5ms. ...
Submitted by
@JJ for Nerdy Deeds, LLC
-
8 months ago
(Last modified 8 months ago)
1
CSV
Java 8
Crude CSV regex to split only by characters surrounded by non-whitespace characters. Ignore that it dosen't highlight all of the other commas in the editor. If you select the g regex flag it will properly show here, but not work in Java. Credit to @merosity (Merosity#0135) on Discord!
Submitted by
Merosity, regice202
-
8 months ago
1
Match ONLY valid URLs!
PCRE2 (PHP >=7.3)
Match all valid URLs Examples: Valid URLs: https://www.example.com/ http://subdomain.example.net/ https://www.subdomain.example.com.uk/params...
Submitted by
Henriii102
-
8 months ago
(Last modified 5 months ago)
1
SGML & XML
PCRE2 (PHP >=7.3)
Match SGML and XML elements.
Submitted by
anonymous
-
8 months ago
1
Hexadecimal Colour Code Finder
PCRE2 (PHP >=7.3)
This regex will find any hexadecimal colour code, anywhere in your string Support for: mini 3 letter codes normal 6 letter codes back to back codes
Submitted by
anonymous
-
8 months ago
1
Find all words between #text#
PCRE2 (PHP >=7.3)
Finds all occurence in a plain text / html text where a text is between 2 hashtags : #text#
Submitted by
Kervan Mazuy
-
8 months ago
1
Find software version in single line text entry
PCRE2 (PHP >=7.3)
This will look for a software version within a single line text entry.
Submitted by
Bill Alexander
-
8 months ago
1
select report
PCRE2 (PHP >=7.3)
select report
Submitted by
H.Nasirii
-
8 months ago
1
números html
PCRE2 (PHP >=7.3)
numeros
Submitted by
anonymous
-
8 months ago
1
Correo Electrónico
PCRE2 (PHP >=7.3)
Validar un correo electrónico con una expresión regular básica
Submitted by
anonymous
-
8 months ago
1
find the function definition based on indentation
ECMAScript (JavaScript)
check the code
Submitted by
anonymous
-
8 months ago
1
Javascript Email Verification RFC5322
ECMAScript (JavaScript)
Original credit for this expression goes to: https://emailregex.com/
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
Non-Empty String
ECMAScript (JavaScript)
This simply checks if the string is not empty spaces.
Submitted by
anonymous
-
8 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)
-
8 months ago
1
amp;
PCRE2 (PHP >=7.3)
subtitui
Submitted by
seidao
-
8 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
-
8 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
-
8 months ago
(Last modified 8 months ago)
1
HTML5 email validation
PCRE2 (PHP >=7.3)
Source: https://html.spec.whatwg.org/#e-mail-state-(type=email)
Submitted by
anonymous
-
8 months ago
1
...
263
264
265
266
267
...
306
Get video parameters from many video services at once
2
Regular Expression
ECMAScript (JavaScript)
/
(?:
http
(?:
s
)?
:
\/\/
)?
(?:
player
.
|
www
\.
)?
(
facebook
\.
com
|
vimeo
\.
com
|
ebaumsworld
\.
com
|
youtu
(?:
be
\.
com
|
\.
be
|
be
\.
googleapis
\.
com
)
|
liveleak
\.
com
|
break
\.
com
)
\/
(?:
video
\.
php
(?:
\?
v=
)
|
media
\/
embed
\/
|
video
\/
watch
\/
|
video
\/
|
embed
\/
|
watch
\?
v=
|
v
\/
)?
(?:
(?:
view
|
ll_embed
)
\?
)?
(?:
(
f
|
i
)
=
)?
(?:
video
\/
|
(?:
.
*
-
)
)?
(
[
A
-
Za
-
z0
-
9._%-
]
*
)
(?:
\&
\S
+
)?
/
Open regex in editor
Description
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago