Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,600 community submitted regex patterns...
0
sAMAccountName in ActiveDirectory validation
PCRE (PHP <7.3)
Used in C# in my particular case.
Submitted by
Aleksander Kirichek
-
10 years ago
0
parse some html img
PCRE (PHP <7.3)
task is prepend domain to all src img. why 3rd img doesnt parse???
Submitted by
adminko
-
10 years ago
0
urls and emails
PCRE (PHP <7.3)
no description available
Submitted by
Matthew O'Riordan
-
10 years ago
0
Fetch file information using File URL.
PCRE (PHP <7.3)
Get information from File URL such as, Extension. Parent folder name. Drive name. File name.
Submitted by
-Harshal.Ahire (ahireharshal@gmail.com)
-
10 years ago
0
(sub)domain match
PCRE (PHP <7.3)
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
9 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
9 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
9 years ago
0
test
Python
test
Submitted by
boag
-
9 years ago
0
Matching lines that starts with -
PCRE (PHP <7.3)
It may be useful inorder to replace those lines with li
Submitted by
Said Bakr
-
9 years ago
0
Any mail address
PCRE (PHP <7.3)
Any mail address
Submitted by
Himalay
-
9 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
9 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
str with whitespace not starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Not Empty String
PCRE (PHP <7.3)
Match a not-empty string. A string with only spaces or no characters is an empty-string. When match something, mathc all the string with the exception of the eventually space at the and
Submitted by
Luca
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Select everything outside of table tags
PCRE (PHP <7.3)
no description available
Submitted by
ReijMan
-
9 years ago
0
Remove all html tags
PCRE (PHP <7.3)
no description available
Submitted by
thebigsmileXD
-
9 years ago
0
Select or locate the last underscore (or dot, etc) in a string
PCRE (PHP <7.3)
This string can help you locate/select the last underscore in a string
Submitted by
Hao
-
9 years ago
0
Facebook profile URL pattern
PCRE (PHP <7.3)
Pattern that check your string to match Facebook user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
0
Validar registro de pregunta
PCRE (PHP <7.3)
Valida las posibles respuestas al insertar una pregunta, esto se realiza ya que las respuestas se ordenan aleatoriamente, por eso no se permite respuestas del tipo "A y B son correctas"
Submitted by
ZeusAFK
-
9 years ago
1
...
204
205
206
207
208
...
580
Replace "You9:99 PM" with empty space
0
Regular Expression
PCRE2 (PHP >=7.3)
/
You
\d
:
\d\d
PM
\n
/
gm
Open regex in editor
Description
This regex search for
You
+ a time (digit +
:
+ 2 digits) +
PM
and deletes it
Submitted by
anonymous
-
2 years ago