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 5,840 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find all while ignoring a set of patterns
Python
This can be changed to find all characters upto a specific pattern as well by changing the \b at the start to a simple ^. This is useful if you want to limit your regex searches in a manner such that two pattern cases do not overlap (as regex does not currently handle overlap of cases when you chai...
Submitted by
anonymous
-
5 years ago
2018-08-13 12:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Message Log
Golang
no description available
Submitted by
anonymous
-
5 years ago
2018-08-13 18:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO 8601 Date Format
ECMAScript (JavaScript)
Regex Matching ISO format
Submitted by
anonymous
-
5 years ago
2018-08-14 17:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indicador Diario
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-08-14 21:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Incorporation
Python
Finds different variations of "Incorporation", e.g.: Inc, Inc. etc
Submitted by
anonymous
-
5 years ago
2018-08-16 17:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
X3D bboxSize
ECMAScript (JavaScript)
X3D bboxSize Three-tuple floating-point values with optional scientific notation, bounded non-negative or else -1 -1 -1 sentinel value. Derived from SFVec3f http://www.web3d.org/specifications/X3dRegularExpressions.html#bboxSize
Submitted by
anonymous
-
5 years ago
2018-08-21 12:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Die roll parser
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-08-20 21:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regEx cellulari italiani, italian mobile phone number
ECMAScript (JavaScript)
check if the phone number is correct, updated to 2018. controlla che il cellulare sia corretto, aggiornata al 2018
Submitted by
anonymous
-
5 years ago
2018-08-21 10:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
X3D bboxSize
ECMAScript (JavaScript)
X3D bboxSize Three-tuple floating-point values with optional scientific notation, bounded non-negative or else -1 -1 -1 sentinel value. Derived from SFVec3f http://www.web3d.org/specifications/X3dRegularExpressions.html#bboxSize
Submitted by
anonymous
-
5 years ago
2018-08-21 12:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iban test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2018-08-21 20:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Base64 Encoded Object GUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2018-08-22 01:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File extension
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-08-22 09:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Folder path
Python
no description available
Submitted by
anonymous
-
5 years ago
2018-08-22 09:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File name without extension
Python
further editing is required in code to get the filename without extension
Submitted by
anonymous
-
5 years ago
2018-08-22 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAX_LONG_STRING
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2018-08-22 09:53
(Last modified a year ago)
2022-11-14 03:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check for username
ECMAScript (JavaScript)
The username should be at least 2 characters long, can have lower and uppercase letters, and can only have numbers in the end.
Submitted by
anonymous
-
5 years ago
2018-08-22 20:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
iban
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2018-08-23 08:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bandcamp Downloader Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2018-08-23 09:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
remove extra spaces on string
ECMAScript (JavaScript)
Get rid of initial, trailing spaces, and extra middle spaces (more than one space in the middle of a string)
Submitted by
anonymous
-
5 years ago
2018-08-23 14:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone validation
ECMAScript (JavaScript)
Validates US and International. Spaces, dot or dash separator. Optional () These formats and variations of them pass this validation 1 (800) 888 8078 +1 402.536.4184 ext 8862088 +91.986.964.4357 +972546790128...
Submitted by
anonymous
-
5 years ago
2018-08-27 15:11
1
...
233
234
235
236
237
238
239
...
292
Macro Guard '#if' finding regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
[
\t
]
*
#
\s
*
if
(?!
ndef
|
def
)
\s
*
(
[^
\\
\n\r\v\f
]
+
)
(?:
\s
*
\\
\s
*
(
[^
\\
\n\r\v\f
]
+
)
)?
(?:
\s
*
\\
\s
*
(
[^
\\
\n\r\v\f
]
+
)
)?
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-12-01 16:36