Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 5,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MySQL DATETIME
PCRE2 (PHP >=7.3)
MySQL DATETIME
Submitted by
anonymous
-
a year ago
2022-12-04 08:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
AppStore apps URL
PCRE2 (PHP >=7.3)
This regex can detect if URL is Appstore app link
Submitted by
anonymous
-
a year ago
2022-12-04 10:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find unity components guid
ECMAScript (JavaScript)
use to find unity components guid
Submitted by
anonymous
-
a year ago
2022-12-05 11:35
(Last modified a year ago)
2022-12-05 11:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Invoice nr
PCRE2 (PHP >=7.3)
regexp search in mongo db by nr
Submitted by
Tivadar
-
a year ago
2022-12-05 12:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
a year ago
2022-12-05 16:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-12-06 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
a year ago
2022-12-06 12:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Doble Espacio
PCRE2 (PHP >=7.3)
Encuentra texto con toble espacio
Submitted by
Carlos Osmar
-
a year ago
2022-12-06 18:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Validación de fecha
PCRE2 (PHP >=7.3)
Este código validará la fecha
Submitted by
Carlos Osmar
-
a year ago
2022-12-06 22:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-12-06 23:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Números reales
PCRE2 (PHP >=7.3)
Números reales
Submitted by
Carlos Osmar
-
a year ago
2022-12-07 03:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-12-07 04:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Smile
PCRE2 (PHP >=7.3)
Accepts : ':' and ';' for eyes Optional : '-' and '~' for nose Accepts : ')' and 'D' for mouth
Submitted by
annickFro
-
a year ago
2022-12-07 08:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Semver regex
PCRE2 (PHP >=7.3)
Example of regex for semver with pre-releases
Submitted by
anonymous
-
a year ago
2022-12-07 13:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
a year ago
2022-12-07 14:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配特定注释和属性内容,添加额外属性
PCRE2 (PHP >=7.3)
//绑定业务员分配量 private int bindSchedulerCount; 替换成 //绑定业务员分配量 private int bindSchedulerCount; //绑定业务员准确率...
Submitted by
fu jw
-
a year ago
2022-12-08 03:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
a year ago
2022-12-08 06:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
To Identify Valid Date Formats
PCRE2 (PHP >=7.3)
We can identify the valid Date formats using this regex.
Submitted by
Sabareesan S
-
a year ago
2022-12-08 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract file name from path
PCRE2 (PHP >=7.3)
Extracts string between the last / and .
Submitted by
superfranky32
-
a year ago
2022-12-08 15:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
a year ago
2022-12-08 17:50
1
...
216
217
218
219
220
221
222
...
281
Find lines with more than two dots
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^.
*
(?:
\.
.
*
){2,}
$
/
mg
Open regex in editor
Description
Loading markdown...
Submitted by
Leonard Deutsch
-
a year ago
2022-06-09 13:38