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 11,540 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C/F temp unit
PCRE2 (PHP >=7.3)
me
Submitted by
anonymous
-
a year ago
2022-05-10 10:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Language Values not escaped Double Quotes
PCRE2 (PHP >=7.3)
Regex that identifies unescaped double quotes in strings
Submitted by
Marco
-
a year ago
2022-05-10 16:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
belcorp
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
a year ago
2022-05-10 22:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match ipv4|匹配ipv4
PCRE2 (PHP >=7.3)
192.168.254.1 match 0.0.0.0 match 01.01.01.01 does not match 255.255.255.255 match 255.0.0.0 match 0.0.0.256 does not match
Submitted by
nihuge
-
a year ago
2022-05-11 01:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
使用した正規表現
PCRE (PHP <7.3)
用例の検索のために使用した正規表現です。
Submitted by
anonymous
-
a year ago
2022-05-11 14:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match but no replace
PCRE2 (PHP >=7.3)
match an group in re.sub pattern but no replace it !
Submitted by
anonymous
-
a year ago
2022-05-12 16:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture Mail
PCRE2 (PHP >=7.3)
Calcolo 1° indirizzo mail da stringa con indirizzo fisso.
Submitted by
Alessandro
-
a year ago
2022-05-13 15:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find string a string not withing quote
PCRE2 (PHP >=7.3)
Find string a string not withing quote
Submitted by
anonymous
-
a year ago
2022-05-14 19:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number
PCRE2 (PHP >=7.3)
Improvement of the Phone Number regex pattern created by 'elishas@syncode.io'
Submitted by
anonymous
-
a year ago
2022-05-16 09:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Notepad++_command_IDs
PCRE2 (PHP >=7.3)
I'm trying to arrange and manipulate Notepad++ icons and make some scripts, so, after generating the list from the MenuIcons plugin, I used this RegEx to make a list with the container (folder/subfolder, the ones that have a -1 command ID) and indent all the items it contains (I'm using Python for m...
Submitted by
Me, myself and I (with the help from the Menu Icons plugin)
-
a year ago
2022-05-16 10:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Php
PCRE2 (PHP >=7.3)
Php
Submitted by
Nickname
-
a year ago
2022-05-16 11:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
track OM cash out
PCRE2 (PHP >=7.3)
cash out tracker
Submitted by
anonymous
-
a year ago
2022-05-16 16:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
.csv data conversion for a test case
PCRE2 (PHP >=7.3)
from "['a']" to "[""a""]"
Submitted by
anonymous
-
a year ago
2022-05-17 22:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
a year ago
2022-05-18 12:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis JavaScript Function w/ Recusive Parenthasis
PCRE2 (PHP >=7.3)
Regex that allows the following: foo(bar).qax(foo(bar).qax(foo(bar).qax(foo(bar).qax()))) Its sorta hard to make out whats going on, so I will just say it: ...
Submitted by
jD3V
-
a year ago
2022-05-18 14:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jerem
PCRE2 (PHP >=7.3)
To match specific name based on season code
Submitted by
anonymous
-
a year ago
2022-05-19 15:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
markdown headings with underscore
PCRE2 (PHP >=7.3)
it still makes a few false positives
Submitted by
charliecalvert
-
a year ago
2022-05-19 22:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replace anything not a letter or a hyphen
PCRE2 (PHP >=7.3)
Make folder/url safe use with eg sed: echo 'My fancy $thing' | sed 's//-/g' results in My-fancy--thing
Submitted by
anonymous
-
a year ago
2022-05-20 15:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between
PCRE (PHP <7.3)
find between
Submitted by
anonymous
-
a year ago
2022-05-20 15:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find between 2 strings
PCRE2 (PHP >=7.3)
find between 2 strings
Submitted by
anonymous
-
a year ago
2022-05-20 15:47
1
...
525
526
527
528
529
530
531
...
577
CSV parsing
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
"
(?:
[^
"
]
|
""
)*
"
|
[^
,
\n
]
+
|
(?=
,
)
(?<=
,
)
|
^
|
(?<=
,
)
$
/
gms
Open regex in editor
Description
Loading markdown...
Submitted by
Austin
-
8 years ago
2015-06-17 16:30