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,040 community submitted regex patterns...
0
España - CIF = NIF jurídico (normativa a Sep 2021)
PCRE2 (PHP >=7.3)
Creo que no me he dejado ningún caso. Cuenta también con el caso en que los 2 primeros números son 00, que admite dígito de control de tipo letra sea cual sea la letra inicial (naturaleza jurídica).
Submitted by
Raúl Moreno Bello
-
3 years ago
(Last modified 3 years ago)
0
XWiki: Decrease headings level
ECMAScript (JavaScript)
Makes 2nd level headings the 1st level etc. This comes handy when for example creating a new page from a part of an existing XWiki page. While this regex could also try to beautify (normalize) the headings at the same time, better use a dedicated regex for that.
Submitted by
pbodnar
-
3 years ago
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
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
1
...
449
450
451
452
453
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
\s
(
(?:
[
0
-
9
]
{1,3}
\.
){3}
[
0
-
9
]
{1,3}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago