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,300 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 input field validator
PCRE (PHP <7.3)
Use It for partial/complete IPv4 address input text checking. OK examples: 19 / 192. / 192.168.1 / 192.168.1.1 / 0.0.0.0 KO examples: 1A / 01 / 192.168..1
Submitted by
José Luis García Morillo
-
a year ago
2022-08-12 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPv4 w/ w/o port validation and localhost string supported
PCRE (PHP <7.3)
IPv4 w/ w/o port validation and localhost string supported
Submitted by
anonymous
-
a year ago
2022-08-15 08:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
password
PCRE (PHP <7.3)
validates password to Contain a-zA-Z0-9 and optional characters !$#@%
Submitted by
anonymous
-
a year ago
2022-08-16 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vampire output formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines printed by the options --show_everything, --show_active, --show_new etc. Run vampire --show_everything on to generate a compatible string.
Submitted by
Filip Bártek
-
a year ago
2022-08-16 17:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Vampire proof formulas
Python
Parses the output of the automated theorem prover Vampire. Matches the output lines that contain the proof. Run vampire --proof on to generate a compatible string.
Submitted by
Filip Bártek
-
a year ago
2022-08-17 11:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Android Package REgex
Python
Not perfect but works
Submitted by
anonymous
-
a year ago
2022-08-17 14:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Camel/pascal case to snake case
Python
Converts camel or pascal case to snake case But it still needs to be converted to lower case
Submitted by
anonymous
-
a year ago
2022-08-17 19:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
EC21 docs
Python
Get AT explain
Submitted by
anonymous
-
a year ago
2022-08-18 04:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
... at start or end of line including whitespace
Python
Used to format kaggle dataset
Submitted by
anonymous
-
a year ago
2022-08-18 13:52
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
1
...
549
550
551
552
553
554
555
...
565
extract title and page from ocr of pdf content by carlleonhard
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
^\s
*
(
(?:
[
—‘’
\-
\w
?°
]
|
(?<=
\w
)
[
.,:
]
)+
?
[^
.
]
)
[
.,
]
*
(
[
-
\d
]
+
)
$
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
carlleonhard
-
a year ago
2022-09-18 04:18