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,380 community submitted regex patterns...
0
XWiki: Beautify (normalize) headings
ECMAScript (JavaScript)
Beautifies (normalizes) headings of an XWiki page.
Submitted by
pbodnar
-
3 years ago
0
Dimensions
PCRE2 (PHP >=7.3)
Regex to match dimensions
Submitted by
intern_of_the_year
-
3 years ago
0
XWiki: Increase headings level
ECMAScript (JavaScript)
Makes 1st level headings the 2nd level etc. This comes handy when for example making an extra chapter from a part of an XWiki page. By-design, this regex also beautifies (normalizes) the headings syntax (like this regex).
Submitted by
pbodnar
-
3 years ago
0
Months (ID/ENG)
PCRE2 (PHP >=7.3)
.
Submitted by
Virtuozs
-
3 years ago
0
Vimeo FIle
ECMAScript (JavaScript)
Viimeo file.
Submitted by
Stephen Nelson
-
3 years ago
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
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
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
1
...
665
666
667
668
669
...
769
Our Box # Format Reader/Checker
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?'box_string'
T
(?'mod_id'
[
0
-
9
]
{4}
)
(?'box_num'
[
0
-
9
]
{1,}
)
)
(?'comma_qty'
,
(?'qty'
[
0
-
9
]
{1,}
)
)?
$
/
gm
Open regex in editor
Description
This is used to check and grab parts from our box # format at our production facility.
Submitted by
edp9884
-
3 years ago