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
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
e164_basic
e164_basic
Submitted by
anonymous
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
e164_basic
e164_basic
Submitted by
anonymous
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
GlobalRange-phone-fax
no description available
Submitted by
anonymous
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
LogExpert Regex Columnizer
parsing log file
Submitted by
Oddbjørn Haaland, Sander Struijk
-
9 years ago
22
59 upvotes, 37 downvotes (61% like it) (You must be signed in to vote)
pcre
UK Postcode Checker
Checks for valid UK/British postcodes. There was another on here that had for some reason been upvoted, but it was actually incorrect as it worked on none of my valid own postcodes! Namely that it assumed two letters and a number (BS3) when you can have variations (M20). Allows for an optional spac...
Submitted by
MaffooBristol
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Reg124
no description available
Submitted by
anonymous
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
RegExExample
no description available
Submitted by
anonymous
-
9 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
RFC 5322 email validation
Unsatisfied with your email validation? Concerned about standards compliance? Worried about that one weird edge case? Want to stress-test your regex engine? This might be the regex for you!
Submitted by
Blake Thomas
-
9 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
Domain Name .CZ - only 2th level format
Valid only for something.cz, some-thing.cz, 2245exampl.cz ... Not-valid for -some.cz, here.com.cz ...
Submitted by
Pavel Ondřej
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
first regex
no description available
Submitted by
anonymous
-
9 years ago
3
8 upvotes, 5 downvotes (62% like it) (You must be signed in to vote)
pcre
everything that doesn't match .gitignore at the end
must match: selection/nl/example.xml selection/example.xml selection/blabla.txt selection/es/ ...
Submitted by
anonymous
-
9 years ago
0
5 upvotes, 5 downvotes (50% like it) (You must be signed in to vote)
pcre
Unicode alpha-numeric regex
Tests for all unicode language characters and number. Excludes any sentence joining characters etc.
Submitted by
Jamie
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
External OR operator
Why doesn't recognize the second pattern after pipe | ?
Submitted by
Fede e Walter
-
9 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
search h1 tag html
(.*?) example: Your best title
Submitted by
otharwa
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
codegolf.SE cops&robbers histocrat#2
no description available
Submitted by
anonymous
-
9 years ago
0
3 upvotes, 3 downvotes (50% like it) (You must be signed in to vote)
pcre
Page Hangs in Chrome/Shows TIMEOUT on regex101.com
I have a regex like this: /^(A-Za-z0-9)([\.\_]?[A-Za-z0-9-]+)(\.[A-Za-z]{2,6})+(\/A-Za-z+)*$/ and I want to test the string like: webmail.google.com.qqqqqqqqqqqqqqqqqqq....... But it shows TIMEOUT. I know that string is invalid for given regex. But I do this because when I input this string and ma...
Submitted by
sam
-
9 years ago
28
77 upvotes, 49 downvotes (61% like it) (You must be signed in to vote)
pcre
CSV line parsing
Captures all fields from a CSV file's line. Can be customized with user-defined field separator and protecting character.
Submitted by
Various
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Test for Ross
no description available
Submitted by
anonymous
-
9 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
python
nginx log parser
separate nginx log into database table-style fields
Submitted by
wgzhao
-
9 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
how to extract that 87% ??
hello, using a monitoring software module from sentrysoftware i want to extract and read that value % (87% ). My chances are to read this line (it's a command output: "/dev/u04omnia_lv 100.00 13.33 87% 57 1% /u04/oradata/OMNIA") by columns (but they aren't columns) or with "befor...
Submitted by
Steve
-
9 years ago
1
...
541
542
543
544
545
546
547
...
566
asdfs
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(
(
.
*
)
,
)
|
(
.
*
)
-
/
Open regex in editor
Description
Loading markdown...
Submitted by
poter
- 9 years ago