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 9,220 community submitted regex patterns...
0
NMEA after timestamps
PCRE (PHP <7.3)
Picks up (most?) NMEA messages.
Submitted by
David Harrison
-
a year ago
0
Search Trailing Commas
PCRE (PHP <7.3)
Regex used for finding trailing commas. Use for troubleshooting PHP 7.2 Codes
Submitted by
anonymous
-
a year ago
0
Match HTML comments with nested comments
PCRE (PHP <7.3)
Even if this is not valid HTML, it's more to understand the concept of recursion in patterns. It was an answer to a Stack overflow question: https://stackoverflow.com/questions/75282404/remove-comments-from-some-generated-html-which-can-be-invalid-with-nested-commen The idea is to use PCRE's recur...
Submitted by
Patrick Janser
-
a year ago
0
trim phone number
PCRE (PHP <7.3)
trim phone number
Submitted by
anonymous
-
a year ago
0
Parcing2
PCRE (PHP <7.3)
aa
Submitted by
anonymous
-
a year ago
0
Extract any http https and any url form
PCRE (PHP <7.3)
This will help you to extract any URL inside your text
Submitted by
Abdullah Alweheid
-
a year ago
0
User-Agent
PCRE (PHP <7.3)
Parser
Submitted by
sn3kdev
-
a year ago
0
Parse arguments
PCRE (PHP <7.3)
Parse arguments
Submitted by
Ofir Yariv
-
a year ago
0
MBI Regex
PCRE (PHP <7.3)
validates against the MBI format published by CDC
Submitted by
i410hlr
-
a year ago
0
Parse getopt options from a Bash script
PCRE (PHP <7.3)
This will parse the parameters/arguments that a Bash script when it uses getopt(s). Groups: name,short,long,while Example cases: ...
Submitted by
Spyingwind
-
a year ago
0
Mysite
PCRE (PHP <7.3)
Hello
Submitted by
anonymous
-
a year ago
0
Regex Colon Code For Emoji
PCRE (PHP <7.3)
Groups the ID, and finds the whole colon code
Submitted by
ZackiBoiz
-
a year ago
(Last modified a year ago)
0
Isolate some string (any caracthers) in between isolators, none or many
PCRE (PHP <7.3)
This expression isolates a string or many strings of any caracthers that are preceded and are followed by a pair of colons in a long text string. Practical for tooltip insertion. Find a word in the string, search in the database, construct the tooltip and insert within the returned string. Use wi...
Submitted by
Marc De Gagné
-
a year ago
0
semantic tags
PCRE (PHP <7.3)
semantic tags
Submitted by
anonymous
-
a year ago
0
Function arguments regex
PCRE (PHP <7.3)
A simple regex to match individual arguments of a function.
Submitted by
anonymous
-
a year ago
0
Get anything between parentheses
PCRE (PHP <7.3)
Use to get any character, digit or space between parentheses
Submitted by
Vini Pereira
-
a year ago
0
Closes properly self-closing tags in HTML
PCRE (PHP <7.3)
In an HTML will replace all auto-closed tags (/>) with a proper tag closing. It works even if the tag has a closing sign (>) inside an attribute.
Submitted by
nabab
-
a year ago
0
Remove all html from string
PCRE (PHP <7.3)
Remove all tags and special character such as
Submitted by
enrico mosca
-
a year ago
0
Replace letters in email address
PCRE (PHP <7.3)
Replace letters in email address but left the first and last letter before and after @
Submitted by
Kaibo
-
a year ago
0
Search/Replace Pressure sensor calibration
PCRE (PHP <7.3)
Changing from MPa to Bar
Submitted by
anonymous
-
a year ago
1
...
458
459
460
461
userName
23
Regular Expression
PCRE (PHP <7.3)
/
^
(?=
.
*
[
a
-
zA
-
Z
]
{1,}
)
(?=
.
*
[
\d
]
{0,}
)
[
a
-
zA
-
Z0
-
9
]
{1,15}
$
/
Open regex in editor
Description
1-15 alphanumeric login name
Submitted by
gsanchezc
-
9 years ago