Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 2,340 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
matches commas not before, after or between digits
PCRE2 (PHP >=7.3)
this matches all commas except for ones that are next to a digit in some way. change the , or \d or \D according to needs
Submitted by
anonymous
-
2 years ago
2021-10-04 10:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Conteúdo de Tag
PCRE2 (PHP >=7.3)
Captura o conteúdo do Lang do Twig. Serve pra qualquer conteúdo de tags.
Submitted by
Marcelo Gomes
-
2 years ago
2021-10-04 20:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
11
Java 8
11
Submitted by
11
-
2 years ago
2021-10-15 07:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match anything under $15.99
PCRE2 (PHP >=7.3)
^\-?\$0-1+(\.[0-9]{2,2})?$|^\-?\$[0-5]+(\.[0-9]{2,2})?$
Submitted by
https://square.to
-
2 years ago
2021-10-24 16:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Password stronger
PCRE2 (PHP >=7.3)
This regex will validate your password To be stronger, the password must be contain: At least 8 characters At least 1 number...
Submitted by
Rafael Paciência
-
2 years ago
2021-10-29 17:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Splunk log regex
PCRE2 (PHP >=7.3)
regex to parse space separated log message from splunk test string ugi=flink ip=172.18.214.55 cmd=source:172.18.214.55 alter_table: hive.net_seed.netdebugnetworkconnectionstatereadysnapshotcapturedevent newtbl=netdebugnetworkconnectionstatereadysnapshotcapturedevent ugi=root ip=172.19.212.146 cmd=s...
Submitted by
Steve Zhang
-
2 years ago
2021-11-03 22:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Split Base64
PCRE2 (PHP >=7.3)
-
Submitted by
anonymous
-
2 years ago
2021-11-06 16:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Inverse Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select everything except brainfuck symbols.
Submitted by
rex0515
-
2 years ago
2021-11-07 23:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Brainfuck Regex
PCRE2 (PHP >=7.3)
Regex to select every brainfuck symbol.
Submitted by
rex0515
-
2 years ago
2021-11-07 23:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-11-10 23:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-11-16 00:18
(Last modified 2 years ago)
2021-11-24 10:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Github URI Validator
PCRE2 (PHP >=7.3)
Validate Github URI
Submitted by
Shoaiyb Sysa
-
2 years ago
2021-11-20 02:03
(Last modified 2 years ago)
2022-03-28 12:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2021-11-21 18:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
GitHub bare url to org/repo Markdown
PCRE2 (PHP >=7.3)
Convert a bare url into organization/repo format in a Markdown link.
Submitted by
anonymous
-
2 years ago
2021-12-13 21:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2022-01-09 00:50
(Last modified 2 years ago)
2022-01-09 05:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ticker but not EFS
PCRE2 (PHP >=7.3)
ticker but not EFS
Submitted by
anonymous
-
2 years ago
2022-01-09 08:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv4 + TCP-Port
Java 8
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by
SIMULATAN
-
2 years ago
2022-01-12 07:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Strong Password
PCRE2 (PHP >=7.3)
Support JS and PHP
Submitted by
jodi@nusantarabetastudio.com
-
2 years ago
2022-01-13 19:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSV quotation mark
PCRE2 (PHP >=7.3)
See quotes that are not delimiters
Submitted by
anonymous
-
2 years ago
2022-01-21 16:56
(Last modified 2 years ago)
2022-01-21 21:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
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
-
2 years ago
2022-01-24 20:32
1
...
7
8
9
10
11
12
13
...
117
AsciiDoc underline
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(?m)
\[\.
underline
\]
(
(
#
(?!
#
)
(
.
*
?
)
#
(?!
#
)
)
|
(
##
(?!
#
)
(
.
*
?
)
##
)
)
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
aisbergde
-
a year ago
2022-10-07 13:18