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. Click
here
to read more.
Community Patterns
Search among 12,620 community submitted regex patterns...
0
分组
ECMAScript (JavaScript)
显示分组
Submitted by
Jason
-
2 years ago
0
Public
PCRE (PHP <7.3)
Public view for my collection
Submitted by
anonymous
-
2 years ago
0
Detect space kernel between characters
PCRE (PHP <7.3)
Detect space kernel between characters
Submitted by
anonymous
-
2 years ago
0
Delete spaces between words only
PCRE (PHP <7.3)
Delete spaces between words only
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Delete spaces at beginning or end of a string
PCRE (PHP <7.3)
Delete spaces at beginning or end of a string
Submitted by
anonymous
-
2 years ago
0
Match Internal Links
ECMAScript (JavaScript)
Detect internal links in page
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Match markdown link
ECMAScript (JavaScript)
Regex match markdown link
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
WinSCP file list parse
ECMAScript (JavaScript)
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
2 years ago
0
div change to button
ECMAScript (JavaScript)
div change to button
Submitted by
mtac
-
2 years ago
0
Positive Integer
ECMAScript (JavaScript)
(/^\d{0,}(([.]{1})?\d?){0,}$/gi
Submitted by
Wasiu Ramoni
-
2 years ago
0
Matches everything but digits and allows for one decimal point.
ECMAScript (JavaScript)
Matches everything but digits and allows for one decimal point. cannot start with a negative Allowed: 123...
Submitted by
Random Guy 70hz
-
2 years ago
0
QueryString and Datasource
ECMAScript (JavaScript)
asdasd
Submitted by
anonymous
-
2 years ago
0
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years ago
0
password strong
PCRE (PHP <7.3)
password 8-16 with A-Z a-z 0-9 and !@#$ without %
Submitted by
alfxjx
-
2 years ago
0
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
2 years ago
0
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
2 years ago
0
Default HTML5 with German Umlauts
ECMAScript (JavaScript)
Adds german special characters äöüß to the default HTML5 regex
Submitted by
mroettgen
-
2 years ago
0
JavaScript Parse CSS Selector
ECMAScript (JavaScript)
Parse CSS Selector in the form element#id.class into its components. Any of the three elements can be missing.
Submitted by
Mark
-
2 years ago
0
Get First Name
ECMAScript (JavaScript)
Grab a first name from a full name string
Submitted by
Tom
-
2 years ago
0
Find next valid markup element of XML content
PCRE (PHP <7.3)
I created the regexp using the XML-specificaton (https://www.w3.org/TR/xml), but in a simplified format (for example allowing only a narrowed set of tag-name characters). The regular expression is a recursive regexp with backreference. I do not tested extensively the regex with a regex-directed engi...
Submitted by
GyRos
-
2 years ago
1
...
608
609
610
611
612
...
631
only numbers
9
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
+
$
/
Open regex in editor
Description
A string with only numbers in
Submitted by
Gotts
-
8 years ago