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,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
group & substitute
PCRE (PHP <7.3)
attempting to isolate and substitute (replace) in PCRE.
Submitted by
ABc3P0
-
a year ago
2022-08-18 18:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find any string between quotes
PCRE (PHP <7.3)
Find any string between the first set of quotes Finds...
Submitted by
Brian Caudill
-
a year ago
2022-08-28 20:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
teste
Submitted by
anonymous
-
a year ago
2022-08-30 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mvc
PCRE (PHP <7.3)
com c#
Submitted by
anonymous
-
a year ago
2022-08-31 13:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
number two decimal digit
Python
.
Submitted by
anonymous
-
a year ago
2022-09-05 12:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AyL
Python
Example of re and substitutions with csv file
Submitted by
Ing Daniel Pérez
-
a year ago
2022-09-07 14:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter Special Characters
PCRE (PHP <7.3)
A regular expression to filter special characters.
Submitted by
gwicho38
-
a year ago
2022-09-08 16:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
1
PCRE (PHP <7.3)
Prueba 1
Submitted by
anonymous
-
a year ago
2022-09-12 06:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Postcodes
Python
This identifies whether a postcode (four numbers, two letters has been provided)
Submitted by
anonymous
-
a year ago
2022-09-13 09:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
filter
PCRE (PHP <7.3)
filter string
Submitted by
anonymous
-
a year ago
2022-09-14 02:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Project
Python
Project
Submitted by
anonymous
-
a year ago
2022-09-14 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex only character number and 14 special character
PCRE (PHP <7.3)
regex only character number and 14 special character
Submitted by
hao.nguyen
-
a year ago
2022-09-15 04:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract just YouTube IDs
PCRE (PHP <7.3)
You can easily extract YouTube IDs, excluding the paths and parameters.
Submitted by
anonymous
-
a year ago
2022-09-16 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
valid date
Python
this regular expression is for validating dates in yyyy-mm-dd format
Submitted by
anonymous
-
a year ago
2022-09-17 10:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
https://regex101.com/r/VrZHR8/1
PCRE (PHP <7.3)
https://regex101.com/r/VrZHR8/1
Submitted by
anonymous
-
a year ago
2022-09-17 18:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract title and page from ocr of pdf content by carlleonhard
Python
extract title and page from ocr of pdf content by carlleonhard
Submitted by
carlleonhard
-
a year ago
2022-09-18 04:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
foengz1
Python
htmltag
Submitted by
Foengz
-
a year ago
2022-09-19 05:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Changed files in "git pull" output.
Python
Get the changed files from the "git pull" output. Use finditer to get a list of Matches.
Submitted by
anonymous
-
a year ago
2022-09-21 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Python find {vars}
Python
Find every used variable in string between { and }
Submitted by
anonymous
-
a year ago
2022-09-21 14:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Prefixed numerics
Python
Search regex for prefixed numerics (kB, Mb. ms. kHz etc.)
Submitted by
delameter
-
a year ago
2022-09-23 16:47
1
...
549
550
551
552
553
554
555
...
564
Match inside square brackets without brackets
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(?<=
\[
)
[^
\[\]
]
+
(?=
\]
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
DanSkeel
-
9 years ago
2014-06-06 14:34