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
Most upvotes
Most downvotes
Highest Score
Lowest Score
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 9,640 community submitted regex patterns...
4
Remove HTML tags
PCRE (PHP <7.3)
This regex is used to remove HTML tag on string
Submitted by
Jordane BACHELET
-
10 years ago
1
Mips I-Type Instructions
PCRE (PHP <7.3)
Parses an I-Type Mips instruction. You can add and remove instructions in the list to support more I-Type instructions. Will detect only "addi", "andi" or "ori" as is
Submitted by
lunfel
-
10 years ago
1
Mips R-Type Instructions
PCRE (PHP <7.3)
Parses an R-Type Mips instruction. You can add and remove instructions in the list to support more R-Type instructions. Will detect only "add", "and", "nor" or "sub" as is
Submitted by
lunfel
-
10 years ago
1
find single character
PCRE (PHP <7.3)
Why this regEx not find all single character? Why not work Start of string and End of string in bracket?
Submitted by
anonymous
-
10 years ago
-2
get all href=()
PCRE (PHP <7.3)
no description available
Submitted by
artyom lisovskij
-
10 years ago
1
Convert YYMMDD to DD/MM/YY
PCRE (PHP <7.3)
I'm new to regular expressions and I've been searching high and low for this really simple date conversion from YYMMDD to DD/MM/YY e.g. 140923 to 23/09/14. Maybe I just didn't search hard enough, but here goes: Search/original string: (\d{4})(\d{2})(\d{2}) ...
Submitted by
Nike Begbaaji
-
10 years ago
1
testmmoj
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Match Tags in ExpressionEngine
PCRE (PHP <7.3)
The second matcher will get EE tags from $tagdata.
Submitted by
Kyle Palko
-
10 years ago
0
number with or without thousands separator(.) and decimal part(,)
PCRE (PHP <7.3)
number with or without thousands separator(.) and decimal part(,) ES: 100000; 1.646; 13323,33; 3.444.434,44
Submitted by
Basten
-
10 years ago
13
URL Validator
PCRE (PHP <7.3)
Validates - URLs with schemes - http, https and ftp Relative URL starting with / and ../
Submitted by
anonymous
-
10 years ago
2
SO “00000000000000000000000000000†is match to Regex “^[1-9]|0$†in .N
PCRE (PHP <7.3)
Test regex for question.
Submitted by
pwas
-
10 years ago
2
find numeric groups in strings
PCRE (PHP <7.3)
no description available
Submitted by
Vovan
-
10 years ago
1
Grab {\w+?} together
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Replace text domain in WP i18n
PCRE (PHP <7.3)
This will find all instances where the WP i18n function __() is used, and change the text domain to something else. This will recognize instances of the function use as separate, even if they appear in the same function
Submitted by
Xedin Unknown
-
10 years ago
2
Li match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Validate alphanumeric and numeric range
PCRE (PHP <7.3)
For Validating alphanumeric and numeric range
Submitted by
anonymous
-
10 years ago
-1
regex test
PCRE (PHP <7.3)
testing the string abc xyx 12 13 a a b
Submitted by
Alien Coders
-
10 years ago
(Last modified a year ago)
0
Share?
PCRE (PHP <7.3)
Test
Submitted by
test
-
10 years ago
1
URL REGULAR EXPRESSION CHALLENGE
PCRE (PHP <7.3)
Follow the instructions to match/don't match the following urls. Then post to comminity with title: [URL CHALLENGE]:
Submitted by
kostas trichas
-
10 years ago
0
Challenge: Create regular expression that matches the following urls
PCRE (PHP <7.3)
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
10 years ago
1
...
464
465
466
467
468
...
482
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?:
[
a
-
z
]
:
)?
(?:
[
\\\/
]
[
a
-
z0
-
9_.
-
]
*
)+
$
/
gmi
Open regex in editor
Description
Détecte si une chaine est un chemin Windows ou Linux valide
Submitted by
anonymous
-
7 years ago
(Last modified a year ago)