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,700 community submitted regex patterns...
0
XML pretty print
PCRE (PHP <7.3)
This is my attempt at using Regex to "pretty print" a poorly formatted xml file. So far it can indent the contents of a tag a single layer deep
Submitted by
Josh Clark
-
3 years ago
0
link files using bracket syntax -- vscode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
Parse URL then Breakdown into parts
ECMAScript (JavaScript)
Will parse a valid URL and break it down into its parts. Making it easier to handle for checking and anything else really in any given langage The following link is a hastebin example of the parsing in Java It will output the following https://haste.readonly.network/viheradehe.java...
Submitted by
ROMVoid95
-
3 years ago
0
Rest URL Param 2
PCRE (PHP <7.3)
no description available
Submitted by
Raphael Quintao
-
3 years ago
(Last modified 3 years ago)
0
Currency to input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
email with domain exclusion - jimbolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
0
validate password
ECMAScript (JavaScript)
no description available
Submitted by
blastz
-
3 years ago
0
ukrainian university title + email regexp
Python
no description available
Submitted by
dilnix
-
3 years ago
0
Match Microchip xc16 library's PIC24 and dsPIC3x linker script filenames
Python
Created for a Python program that needed to help recognize linker script filenames that resemble those for actual devices in Microchip's 16-bit DSC/MCU family of chips. The regex will match any such filename found in Microchip's xc16 support directory tree, as of xc16 v1.50. (I've actually tested i...
Submitted by
Galen Tackett
-
3 years ago
0
{NS} - Change *ngIf to [visibility]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
3 years ago
0
Bible reading accountability matching
ECMAScript (JavaScript)
Matthieu 2 - 14 Jean 2-10 Apocalypse 12-22 Genèse 1- 10 Nombres 1- 10 Luc 1
Submitted by
Jean-jacques AKAKPO
-
3 years ago
0
numbered multilevel list
ECMAScript (JavaScript)
Search for items in dot separated lists like 1 1.1 1.1.1 ... 2...
Submitted by
Vlad
-
3 years ago
0
Date2 (Notes)
PCRE (PHP <7.3)
Date2 (Notes)
Submitted by
anonymous
-
3 years ago
0
Frac
Python
frac
Submitted by
anonymous
-
3 years ago
0
Discord role/ping/channel catcher
ECMAScript (JavaScript)
This regex will match when people ping someone or ping a group it will also match when people mention a channel for non-channel catching type use ``
Submitted by
The Detenator#4604
-
3 years ago
0
Stack Overflow (match only words)
Python
a word is anything valid within a parens (like in a function), but the function itself should not be matched a word may have a numeric at the end or the start there is no guarantee of a single space (or ANY space other than some operators)
Submitted by
Cambuchi
-
3 years ago
0
Email
ECMAScript (JavaScript)
to validate email
Submitted by
anonymous
-
3 years ago
0
words without special characters and allow words to be separated by a dash sign
ECMAScript (JavaScript)
This regular expression checks for below rules: Must not have special characters except a dash sign Must not start with a dash sign or white space Must not end with a dash sign or white space Must not have a dash sign or white space in sequence
Submitted by
Vijay sasvadiya
-
3 years ago
0
Fakku Unlimited Regex
PCRE (PHP <7.3)
Im doing this because if love the release not you.
Submitted by
wdangoo
-
3 years ago
0
Selector Trim Matcher (jQuery)
ECMAScript (JavaScript)
The regular expression used in the jQuery library to match characters that should be trimmed from selector strings.
Submitted by
Ben
-
3 years ago
1
...
671
672
673
674
675
...
735
i18 language lines extraction
2
Regular Expression
ECMAScript (JavaScript)
/
i18
\s
*
\(
\s
*
[
'"
]
(
.
+
)
[
'"
]
\,
.
*
\)
/
gm
Open regex in editor
Description
Extracts lines with i18 prefix from text
Submitted by
anonymous
-
9 years ago