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 2,960 community submitted regex patterns...
1
Split Base64
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
3 years ago
1
Inverse Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select everything except brainfuck symbols.
Submitted by
rex0515
-
3 years ago
1
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
3 years ago
1
Parser for GPG search-key output
PCRE2 (PHP >=7.3)
Record the output of the batch gpg --search-keys commands into variables. For example, get the public key ids or those with *.amazon.com email addresses: pubkeyids=$(gpg --batch --keyserver hkp://keyserver.ubuntu.com --search-keys amazon.com 2>&1 | grep -Po '\d+\sbit\s\S+\skey\s+' | cut -d' ' -...
Submitted by
mavaddat
-
3 years ago
1
SML Structure
PCRE2 (PHP >=7.3)
This i suggest match the sml structure. Use it wisely, I made it just for fun!
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 3 years ago)
1
Github URI Validator
PCRE2 (PHP >=7.3)
Validate Github URI
Submitted by
Shoaiyb Sysa
-
3 years ago
(Last modified 3 years ago)
1
Web wikilinks
PCRE2 (PHP >=7.3)
[[plain wikilinks]] [[first tag]] [[meta on first tag]] [[first tag + meta + container]] [[first tag + meta + container + third tag]] [[forgot a bracket...
Submitted by
Evan Boehs
-
3 years ago
1
Array Expressions
PCRE2 (PHP >=7.3)
Array Expressions Expresiones validas de array para el atributos Value de los componentes tipo texto del editor grafico de VeriTran
Submitted by
Sebastian Ardila Agudelo
-
3 years ago
(Last modified 3 years ago)
1
ticker but not EFS
PCRE2 (PHP >=7.3)
ticker but not EFS
Submitted by
anonymous
-
3 years ago
1
Strong Password
PCRE2 (PHP >=7.3)
Support JS and PHP
Submitted by
jodi@nusantarabetastudio.com
-
3 years ago
1
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Last 4 charecters
PCRE2 (PHP >=7.3)
This regex allows you to access the last 4 charecters in a string and manipulate them however you want
Submitted by
anonymous
-
3 years ago
1
Worlde helper
PCRE2 (PHP >=7.3)
simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc" dictionary taken from wordle JS file
Submitted by
anonymous
-
3 years ago
0
Day, year and month regex
PCRE2 (PHP >=7.3)
This regex allows to match date format with the same separators
Submitted by
Cymon
-
3 years ago
1
Expresión regular para encontrar enlaces de video de Youtube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones similares a los enlaces de video de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
Expresión regular para validar enlaces de videos embebidos de YouTube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones para enlaces de videos embebidos de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
order by field and direction
PCRE2 (PHP >=7.3)
order by field and direction
Submitted by
anonymous
-
3 years ago
1
sha512 - letters and numbers, without special characters. length 512
PCRE2 (PHP >=7.3)
Just capital letters and numbers, without special characters. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
just number and String length 30
PCRE2 (PHP >=7.3)
just number and String length 30
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
HTML body tokenize
PCRE2 (PHP >=7.3)
Tokenize before do other process. We can adapt to use for header tag.
Submitted by
Jakk
-
3 years ago
(Last modified 3 years ago)
1
...
10
11
12
13
14
...
148
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago