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 14,880 community submitted regex patterns...
1
Regex URL validation pattern
ECMAScript (JavaScript)
Regex URL validation pattern
Submitted by
Septian Maulana
-
7 months ago
1
Regex to find URLs in text
ECMAScript (JavaScript)
Regex to find URLs in text
Submitted by
Saheed Odulaja
-
7 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)
-
7 months ago
1
Non-Empty String
ECMAScript (JavaScript)
This simply checks if the string is not empty spaces.
Submitted by
anonymous
-
7 months ago
1
Javascript Email Verification RFC5322
ECMAScript (JavaScript)
Original credit for this expression goes to: https://emailregex.com/
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)
1
find the function definition based on indentation
ECMAScript (JavaScript)
check the code
Submitted by
anonymous
-
7 months ago
1
Remove specific parameter from URL
PCRE (PHP <7.3)
This pattern finds a parameter (sst) key + value in a GET request URL. When replaced with an empty string, effectively removes the parameter. Works with both full URLs and isolated query strings. Works in PCRE and PCRE2. Full use case: if (isset($_GET["sst"])) { // validate...
Submitted by
Martin Holt
-
7 months ago
(Last modified 7 months ago)
1
Opportunity Close
PCRE (PHP <7.3)
Prepare batch job for opportunity close
Submitted by
wistlo
-
7 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
-
7 months ago
(Last modified 7 months ago)
1
HGVS - ClinVar Submission
Python
HGVS Nomenclature Check for ClinVar Submissions
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)
1
Adds custom prefix to tailwind classes
PCRE (PHP <7.3)
Or any other particular case where given any line that starts with the pattern "@apply" (or any other line heading) and it substitutes any word (list of characters without spaces), with or without puntuation in them, and it adds a custom prefix to all the words in that line but the line heading.
Submitted by
@drakopablo.dev
-
7 months ago
2
Invalid Windows Filename Chars
PCRE (PHP <7.3)
https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file Integer value zero, sometimes referred to as the ASCII NUL character. Characters whose integer representations are in the range from 1 through 31, except for alternate data streams where these characters are allowed. For more info...
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)
1
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
8 months ago
1
Validate Wikipedia URL and extract Article Title
ECMAScript (JavaScript)
This works against a list of hyperlinks from the 'USS Marmora (1862)' article You can include File: pages by removing the File:| from the regex. I could improve how the remaining query for urls containing index.php, for now I recommend splitting in your chosen programming language. ...
Submitted by
Martin Shaw
-
8 months ago
(Last modified 8 months ago)
1
Nz postcodes - Auckland region
ECMAScript (JavaScript)
A regex to find if a postcode is in Auckland region (New Zealand)
Submitted by
brenmurrell
-
8 months ago
1
Email Regex
ECMAScript (JavaScript)
ECMAScript simple regex for email validation
Submitted by
@marquesjob
-
8 months ago
1
Match emoji in emoji-zwj-sequences.txt
Python
Match emoji in emoji-zwj-sequences.txt
Submitted by
anonymous
-
8 months ago
1
emoji-test.txt
Python
emoji-test.txt
Submitted by
anonymous
-
8 months ago
2
Decimal up to 15.2 digits in French and English culture
ECMAScript (JavaScript)
Validates that a given string is a number of up to 15 integer digits and up to 2 decimal digits. Group separators could be either comma or space class but can't be mixed. Decimal separator could be either comma (if comma was not a group delimiter) or dot. This variation uses small captures for mode...
Submitted by
BkQc
-
8 months ago
(Last modified 8 months ago)
2
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
8 months ago
(Last modified 8 months ago)
1
...
3
4
5
6
7
...
744
URL SERVER
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
https
?
:
\/\/
)?
(
(
[
\w
\.
]
+
)
\.
(
[
a
-
z
]
{2,6}
\.
?
)
(
\/
[
\w
\.
]
*
)*
\/
?
|
(
(?:
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
\.
){3}
(?:
25
[
0
-
5
]
|
2
[
0
-
4
]
\d
|
[
01
]
?
\d\d
?
)
|
(
\l
ocalhost
)
)
)
(
\:
(
[
0
-
9
]
{1,4}
|
[
1
-
5
]
[
0
-
9
]
{4}
|
6
[
0
-
4
]
[
0
-
9
]
{3}
|
65
[
0
-
4
]
[
0
-
9
]
{2}
|
655
[
0
-
2
]
[
0
-
9
]
|
6553
[
0
-
5
]
)
)?
$
/
Open regex in editor
Description
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
a year ago
(Last modified a year ago)