Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Parse out a URL for optional values
Tokenize a HostName for optional string values. Good for testing whether you are in np, qa, qp, or production environments.
Submitted by
Matthew Ledbetter
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
To work with comma separated lists
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
PARSE NUMBERS
any int, any int with decimal any int with comma delimited any int with comma delimited and decimal
Submitted by
amaroyche
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Trick empty char
no description available
Submitted by
CROSP
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Parse OTP from QR Code
This regular expression parses the uri of an one-time password typically masked by a QR Code. The expression supports the core hotp and totp, name, secret and optional counter (for hotp)
Submitted by
Carsten and Craig
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Sign before number
no description available
Submitted by
Albion Liçi
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
1
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
URL Path Validation
Validates an url path that must begin with '/' and not contain special characters or repeated '/' [forward slashes]
Submitted by
rochmit10
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
testscript
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
test
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
JAPANESE ZENKAKU KANA ONLY
NOT ALLOW HANKAKU CHARACTOR
Submitted by
nobuhiko futagami
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
GROUPS
YEAH
Submitted by
AWESOME
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
extract sql table name from request
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Naming
Naming
Submitted by
Matt
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
python
match unescaped quotes
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Name validator
Validates a first middle and last name with hyphens as a single string
Submitted by
Keith Johnson
-
8 years ago
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
python
json comment - first attempt
no description available
Submitted by
Mark
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
isDateTime
Validação: Data d/m/yy d/mm/yyyy dd/m/yyyy dd/mm/yy...
Submitted by
Rafael Fischer
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
isDate
Validador de Data e Hora
Submitted by
Rafael Fischer
-
8 years ago
1
3 upvotes, 2 downvotes (60% like it) (You must be signed in to vote)
pcre
Camel case string splitter
Splits CamelCase single string into separate strings. Can be used for transforming CamelCase to snake_case. Also works with numbers and capital letter shortcuts (e.g SomeWTFVariable1).
Submitted by
Nicolas
-
8 years ago
1
...
725
726
727
728
729
730
731
...
852
search all special characters
Vote
-2
3 upvotes, 5 downvotes (38% like it) (You must be signed in to vote)
Regular Expression
javascript
/
[^
A
-
Za
-
z0
-
9_
\s
]
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
rlynjb
- 8 years ago