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
8
9 upvotes, 1 downvotes (90% like it) (You must be signed in to vote)
pcre
Max - URL Extract
no description available
Submitted by
Ayush
-
7 years ago
9
23 upvotes, 14 downvotes (62% like it) (You must be signed in to vote)
pcre
Validate Base64 single-line string
no description available
Submitted by
ka.
-
10 years ago
9
15 upvotes, 6 downvotes (71% like it) (You must be signed in to vote)
pcre
Removing an XML Nodes namespace prefix from a XML string wit
no description available
Submitted by
anonymous
-
10 years ago
9
67 upvotes, 58 downvotes (54% like it) (You must be signed in to vote)
pcre
Youtube ID match
This regex will match any Youtube video ID thrown at it and return one capturing group containing the ID.
Submitted by
Jacob Overgaard
-
10 years ago
9
11 upvotes, 2 downvotes (85% like it) (You must be signed in to vote)
pcre
Fixo LDN CSP e SEM CSP
no description available
Submitted by
Marcos Müller
-
9 years ago
9
35 upvotes, 26 downvotes (57% like it) (You must be signed in to vote)
pcre
only numbers
A string with only numbers in
Submitted by
Gotts
-
8 years ago
9
12 upvotes, 3 downvotes (80% like it) (You must be signed in to vote)
pcre
Letters, numbers and blank space
The following regular expression matches only letter a-z A-Z numbers 0-9 and a blank space for a given string.
Submitted by
Jordan Raychev
-
7 years ago
10
15 upvotes, 5 downvotes (75% like it) (You must be signed in to vote)
pcre
Just validate one sequence of
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
9 years ago
10
13 upvotes, 3 downvotes (81% like it) (You must be signed in to vote)
pcre
remove comments from php code
no description available
Submitted by
anonymous
-
8 years ago
10
12 upvotes, 2 downvotes (86% like it) (You must be signed in to vote)
pcre
RFC3339 DateTime
Validates a RFC3339 DateTime format. Does not validates the Data
Submitted by
anonymous
-
7 years ago
11
23 upvotes, 12 downvotes (66% like it) (You must be signed in to vote)
pcre
Demonstration from front page
This is just the demonstration from the front page.
Submitted by
Lindrian
-
10 years ago
11
24 upvotes, 13 downvotes (65% like it) (You must be signed in to vote)
pcre
Address Check Validation
Check for true or false street address format
Submitted by
Dilip Borad
-
9 years ago
11
42 upvotes, 31 downvotes (58% like it) (You must be signed in to vote)
pcre
Date(Including Leap Year) YYYY-MM-DD hh:mm:ss
Validates DateTime of format YYYY-MM-DD hh:mm:ss including Leap Year
Submitted by
Madhan
-
9 years ago
11
18 upvotes, 7 downvotes (72% like it) (You must be signed in to vote)
pcre
Strip Email ID from Name
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
9 years ago
11
22 upvotes, 11 downvotes (67% like it) (You must be signed in to vote)
pcre
Remove Special Ascii Characters from unicode String
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
8 years ago
11
16 upvotes, 5 downvotes (76% like it) (You must be signed in to vote)
pcre
Codice fiscale
Check "codice fiscale"
Submitted by
Luca
-
8 years ago
12
75 upvotes, 63 downvotes (54% like it) (You must be signed in to vote)
pcre
URL Validator
Validates - URLs with schemes - http, https and ftp Relative URL starting with / and ../
Submitted by
anonymous
-
9 years ago
12
23 upvotes, 11 downvotes (68% like it) (You must be signed in to vote)
pcre
Match Gmail Email
Match Gmail Email
Submitted by
Óscar EnrÃquez
-
9 years ago
12
13 upvotes, 1 downvotes (93% like it) (You must be signed in to vote)
pcre
MikroTik FireWall
Regex used in Splunk to extract fields from Mikrotik FW. NOTES: Mikrotik must be configured to use "BSD Syslog" format FW rules must add, as log prefix, the action: drop accep...
Submitted by
HappyIdeasMaker
-
8 years ago
13
35 upvotes, 22 downvotes (61% like it) (You must be signed in to vote)
pcre
PHP variable name
Valid PHP variable name as defined in the manual at http://php.net/manual/en/language.variables.basics.php
Submitted by
Erin Millard
-
10 years ago
1
...
473
474
475
476
477
478
test2
Vote
-3
1 upvotes, 4 downvotes (20% like it) (You must be signed in to vote)
Regular Expression
pcre
/
-
(
\d
*
)
.
html
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 9 years ago