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...
1
JavaScript Naming Convention Parser/Validator
PCRE2 (PHP >=7.3)
Surprisingly short regex that matches valid JavaScript identifier names and captures it in a group according common JavaScript naming conventions, e.g: myVariable generic name for most identifiers, uses camelCase MyClass...
Submitted by
Neel Yadav
-
2 years ago
0
BankPostingInvoiceNumber
PCRE2 (PHP >=7.3)
Get Invoice Number
Submitted by
Diego Riva
-
2 years ago
0
BankPostingMiddle
PCRE2 (PHP >=7.3)
Get Middle Value From Invoice Text
Submitted by
Diego Riva
-
2 years ago
0
Postcodes
Python
This identifies whether a postcode (four numbers, two letters has been provided)
Submitted by
anonymous
-
2 years ago
0
Exclude a specific folder path
ECMAScript (JavaScript)
Exclude a specific folder path(/upgrade)
Submitted by
anonymous
-
2 years ago
0
quizlet link extract
ECMAScript (JavaScript)
fg
Submitted by
anonymous
-
2 years ago
0
1
PCRE (PHP <7.3)
Prueba 1
Submitted by
anonymous
-
2 years ago
0
Σ = { a , b,c } Cadenas que contienen al menos dos a’s o exactamente tres b’s
PCRE2 (PHP >=7.3)
Tarea 1 - LFYA
Submitted by
anonymous
-
2 years ago
0
quizlet data extract
ECMAScript (JavaScript)
.
Submitted by
anonymous
-
2 years ago
0
Tarea 1
PCRE2 (PHP >=7.3)
Lenguajes
Submitted by
anonymous
-
2 years ago
0
Aktienkurse
PCRE2 (PHP >=7.3)
Bekomme es nicht hin, den Wert 22,32 zu extrahieren
Submitted by
Gregor
-
2 years ago
0
import module
ECMAScript (JavaScript)
match import module expression: import{mod}from"url/url/file.js" import {mod} from "url/url/file.js"
Submitted by
handoko75@gmail.com
-
2 years ago
1
SGR ANSI escape sequences
Python
Find all SGR-type ANSI escape sequences
Submitted by
delameter
-
2 years ago
0
groupby string
PCRE2 (PHP >=7.3)
a(bb) aabbabbabbaaa expectedoutput: Start :1, End : 4, Group abb...
Submitted by
anonymous
-
2 years ago
0
Hello World exercise
PCRE2 (PHP >=7.3)
Find Hello world!
Submitted by
viktomas
-
2 years ago
0
Match Phone Number: 03## ####### OR +92 3## #######
Java 8
Can be used to match Pakistani SIM card Numbers
Submitted by
anonymous
-
2 years ago
0
Capture mmcli gps location
ECMAScript (JavaScript)
groups latitude and longitude values from the return of "mmcli -m 0 -K --location-get"
Submitted by
anonymous
-
2 years ago
0
Time Hint
PCRE2 (PHP >=7.3)
Regex for detecting common date/time formats.
Submitted by
Gyen
-
2 years ago
0
Filtering of URL parameter passwords
PCRE2 (PHP >=7.3)
When logging URLs the passwords that are sent as URL parameters should be masked out to not write them in clear text into the log files.
Submitted by
Jan Kessler
-
2 years ago
0
поиск по ключу но только при наличии еще одного ключа
PCRE2 (PHP >=7.3)
регулярное выражение по вхождению ключа, но только при наличии еще одного ключа
Submitted by
Oin
-
2 years ago
1
...
115
116
117
118
119
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
<
\/
?
[
b|B
]
[
r|R
]
?
\/
?
>
/
gm
Open regex in editor
Description
preg_replace( '', '%newline%', $string )
Submitted by
anonymous
-
6 years ago