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 18,040 community submitted regex patterns...
0
Invoice nr
PCRE2 (PHP >=7.3)
regexp search in mongo db by nr
Submitted by
Tivadar
-
2 years ago
0
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
2 years ago
0
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
2 years ago
0
Negative search
PCRE (PHP <7.3)
Seach pattern that doesn't match
Submitted by
Gael Langlais
-
2 years ago
0
Amount (Number with two decimal places)
ECMAScript (JavaScript)
| valid | invalid | |:----------|:------------| | 0.00 | 1 | | 0.99 | 1. | | 10.00 | 1.9 | | 999.99 | 1,99 |...
Submitted by
anonymous
-
2 years ago
0
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
2 years ago
0
matching the end integer at the end of a command and capture the integer
Python
trig:seq:lev\s+([+-]?\d+)
Submitted by
anonymous
-
2 years ago
0
Doble Espacio
PCRE2 (PHP >=7.3)
Encuentra texto con toble espacio
Submitted by
Carlos Osmar
-
2 years ago
0
Validación de fecha
PCRE2 (PHP >=7.3)
Este código validará la fecha
Submitted by
Carlos Osmar
-
2 years ago
0
Validación de palabra USFX
PCRE2 (PHP >=7.3)
Puede validar diferentes maneras de escribir la palabra Universidad Mayor, Real y Pontificia de San Francisco Xavier de Chuquisaca
Submitted by
Carlos Osmar
-
2 years ago
0
Números reales
PCRE2 (PHP >=7.3)
Números reales
Submitted by
Carlos Osmar
-
2 years ago
0
find number with comma and string
PCRE2 (PHP >=7.3)
find a number with a comma and continue with a string ex. 1,000 AED
Submitted by
anonymous
-
2 years ago
0
Smile
PCRE2 (PHP >=7.3)
Accepts : ':' and ';' for eyes Optional : '-' and '~' for nose Accepts : ')' and 'D' for mouth
Submitted by
annickFro
-
2 years ago
0
Semver regex
PCRE2 (PHP >=7.3)
Example of regex for semver with pre-releases
Submitted by
anonymous
-
2 years ago
0
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
2 years ago
0
匹配特定注释和属性内容,添加额外属性
PCRE2 (PHP >=7.3)
//绑定业务员分配量 private int bindSchedulerCount; 替换成 //绑定业务员分配量 private int bindSchedulerCount; //绑定业务员准确 率...
Submitted by
fu jw
-
2 years ago
0
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
2 years ago
0
To Identify Valid Date Formats
PCRE2 (PHP >=7.3)
We can identify the valid Date formats using this regex.
Submitted by
Sabareesan S
-
2 years ago
0
Extract file name from path
PCRE2 (PHP >=7.3)
Extracts string between the last / and .
Submitted by
superfranky32
-
2 years ago
0
Extract CREATE TABLE statements from SQL dump file
PCRE2 (PHP >=7.3)
Usage: pcre2grep -M -e'^(CREATE TABLE*?;)' dump.sql > create-tables.sql
Submitted by
Daniel J. Post
-
2 years ago
1
...
857
858
859
860
861
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
.
*
import
.
*
/
mg
Open regex in editor
Description
Match import lines to disable spelling error in package names.
Submitted by
anonymous
-
2 years ago