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
Community Patterns
Search among 12,840 community submitted regex patterns...
1
AIX ps -ef
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Last character
PCRE (PHP <7.3)
Get the last character from any line of a string
Submitted by
Edward Aryee
-
8 years ago
0
File path seperator
PCRE (PHP <7.3)
Seperate any file from it's path and trim extention, creating two groups
Submitted by
Edward Aryee
-
8 years ago
1
Match one or more chars in a text
PCRE (PHP <7.3)
no description available
Submitted by
padre629
-
8 years ago
1
test
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Abbreviation Finder
PCRE (PHP <7.3)
Matches any abbreviations of a length between 2 and 4.
Submitted by
anonymous
-
8 years ago
1
Fecha y hora
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
CSS to Reagent
ECMAScript (JavaScript)
Transforms standart CSS rules to Reagents {:style{}}
Submitted by
Ugis
-
8 years ago
1
Negative regex for block of text
ECMAScript (JavaScript)
This will make sure a certain regex does not exist in a block of text, that includes new lines
Submitted by
Mandeep Rai
-
8 years ago
1
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
8 years ago
2
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Match a string only for a percentage number
PCRE (PHP <7.3)
This regex checks if a string contains a number that ends with a "%" character ignoring all other cases. 96% -> accept 96.6% -> accept kk% -> Reject 96%% -> Reject
Submitted by
Krishna
-
8 years ago
0
Match 24H time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
AsDate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Australian BSB
PCRE (PHP <7.3)
Matches Australian BSB numbers
Submitted by
Michael Fishpool
-
8 years ago
1
4 digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Reqursive concrete chunk
PCRE (PHP <7.3)
(?R) Alternative
Submitted by
lexus.1995@mail.ru
-
8 years ago
1
Outcode Extraction
PCRE (PHP <7.3)
Outcode extraction for UK postcode
Submitted by
Begbaaji
-
8 years ago
1
File Extensions for NodejS recoginition for madge
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Accounting Numeric Format
PCRE (PHP <7.3)
ACCEPTS ONE DASH "-" IN FRONT. ACCEPTS ONE PERIOD "." AFTER NUMBERS. ACCEPTS COMMAS. DOES NOT ACCEPT PARENTHESIS "()".
Submitted by
anonymous
-
8 years ago
1
...
454
455
456
457
458
...
642
grades 0 to 10
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
10
)
$
|
^
[
0
-
9
]
(
\.
[
0
-
9
]
)?
$
/
Open regex in editor
Description
Validate grades between 0 to 10. With one decimal at max (1.1)
Submitted by
bascoder
-
8 years ago