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 9,340 community submitted regex patterns...
0
Keep Number and .,
PCRE (PHP <7.3)
Keep Number and .,
Submitted by
HUUTAI
-
3 years ago
0
otros
PCRE (PHP <7.3)
a
Submitted by
anonymous
-
3 years ago
0
Encontrar los caracteres que habría que eliminar para convertir una cadena en un número decimal completo o por completar.
PCRE (PHP <7.3)
Encontrar cada carácter que cumplan alguna de las siguientes condiciones: No es un dígito ni un punto ni un signo menos. Un signo menos que no es el primer carácter de la cadena. Un punto después del cual se puede encontrar otro punto.
Submitted by
Jorge Gómez Prada
-
3 years ago
0
Regex for only alphabets
PCRE (PHP <7.3)
Regex for only alphabets
Submitted by
anonymous
-
3 years ago
0
Ngay thang nam
PCRE (PHP <7.3)
Bat ngay thang nam
Submitted by
anonymous
-
3 years ago
0
password validation
PCRE (PHP <7.3)
(?=.[A-Za-z])(?=.\d)[A-Za-z\d]{8,}
Submitted by
anonymous
-
3 years ago
0
Password Simple
PCRE (PHP <7.3)
Password regex not allowed space
Submitted by
anonymous
-
3 years ago
0
Name account
PCRE (PHP <7.3)
Regex for accounts names without space
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
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
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
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
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
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
1
IP Address Validation Express
PCRE (PHP <7.3)
This is an accurate IP Address validation express that matches 1.1.1.1 to 255.255.255.255. Enjoy the code and pass it on to someone else in need. _"With practice you have no choice but to improve." "A logical mind has no limits to understanding."_
Submitted by
anonymous
-
3 years ago
1
Remove single, but not repeating newlines, except immediately after a period. (xiTWA2/1)
PCRE (PHP <7.3)
Intended as a first pass on already word wrapped text, to remove wrap newlines while preserving likely intentional ones. Not especially robust.
Submitted by
Tristan
-
3 years ago
1
Word wrap text
PCRE (PHP <7.3)
(Directly inspired by https://macromates.com/blog/2006/wrapping-text-with-regular-expressions/ ) This version only splits between words, so lines may wrap earlier than the given maximum. Passes existing linefeed through "as‐is", so probably not useful for reflowing already wrapped text
Submitted by
Tristan
-
3 years ago
0
Cron
PCRE (PHP <7.3)
fr
Submitted by
anonymous
-
3 years ago
0
Grab ID
PCRE (PHP <7.3)
^
Submitted by
anonymous
-
3 years ago
0
Commit linter
PCRE (PHP <7.3)
Regex to lint the first line of a commit
Submitted by
anonymous
-
3 years ago
1
...
14
15
16
17
18
...
467
Community Library Entry
0
Regular Expression
Golang
`
(?s)
<AbstractText
\b
[^
>
]
*
\b
[^
\/
]
?
>
(
.
+
?
)
</AbstractText>
`
g
Open regex in editor
Description
no description available
Submitted by
Richard Peng
-
8 years ago