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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 18,020 community submitted regex patterns...
0
MD h1 change to block with anchor
PCRE2 (PHP >=7.3)
Find any lines starting with # and followed by anchor name with & and wrap it into html so that we start with this: Title &anchor and finish with something like this: ...
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Capture variable
Python
test
Submitted by
anonymous
-
3 years ago
0
Excel ABS, SUM, AVG
Python
test
Submitted by
anonymous
-
3 years ago
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
3 years ago
0
Array shape documentation
Python
Matches array shape documentation comments.
Submitted by
anonymous
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Word Tokenizer
ECMAScript (JavaScript)
Word Tokenizer
Submitted by
anonymous
-
3 years ago
0
Capture Groups with back references
PCRE (PHP <7.3)
Extracting the variable names, e.g. (DOB_TT, OSTATE, etc) by setting up capture groups and extracting the 5th capture group
Submitted by
anonymous
-
3 years ago
0
URL trailing slash check
PCRE (PHP <7.3)
This determines if URL has trailing slash
Submitted by
randywolf244
-
3 years ago
0
Feet to inches converter
PCRE2 (PHP >=7.3)
This only works in Google sheets. The test string is a sheets formula that converts feet inches in this into the total number of inches.
Submitted by
randywolf244
-
3 years ago
0
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
3 years ago
0
Unicode pattern
PCRE2 (PHP >=7.3)
匹配Unicode
Submitted by
anonymous
-
3 years ago
0
Full name with accented letters
PCRE (PHP <7.3)
Accept full name with white space, hyphen, dot, apostrophe, small letters, large letters, accented letters
Submitted by
anonymous
-
3 years ago
0
Кадастровый номер
ECMAScript (JavaScript)
Проверка правильности кадастрового номера
Submitted by
Virenbar
-
3 years ago
(Last modified 3 years ago)
0
LaTeX matrix/table newline
PCRE2 (PHP >=7.3)
This regex matches newlines in LaTeX matrices/arrays/tabulars and adds \\ automatically.
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
najit cenu
PCRE2 (PHP >=7.3)
tmp
Submitted by
anonymous
-
3 years ago
0
First Name with special characters, optional hyphen
ECMAScript (JavaScript)
First name validator - minimum 2 characters, optional hyphen, 2 or more characters
Submitted by
Jeff Zinn
-
3 years ago
0
check regext number and anything.
PCRE2 (PHP >=7.3)
check regex number and anything.
Submitted by
Claudio Santos
-
3 years ago
(Last modified 3 years ago)
0
Name account
PCRE (PHP <7.3)
Regex for accounts names without space
Submitted by
anonymous
-
3 years ago
1
...
393
394
395
396
397
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
[^
\S\r\n
]
*
)
(
=
+
)
(?:
[^
\S\r\n
]
*
)
(
.
+
?
)
(?:
[^
\S\r\n
]
*
=
+
[^
\S\r\n
]
*
)?
$
/
gm
Open regex in editor
Description
Beautifies (normalizes) headings of an
XWiki
page.
Submitted by
pbodnar
-
3 years ago