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 3,560 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
version and folder remove script line at html
ECMAScript (JavaScript)
version and folder remove script line at html
Submitted by
anonymous
-
2 years ago
2021-09-28 10:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Senha forte
ECMAScript (JavaScript)
Regex simples para verificação de senha forte: /^ (?=.*\d) // deve conter ao menos um dígito (?=.*[a-z]) // deve conter ao menos uma letra minúscula...
Submitted by
anonymous
-
2 years ago
2021-09-27 18:34
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Get commands from Neebula Discovery Language NDL
ECMAScript (JavaScript)
Matches the commands from Neebula Discovery Language NDL, which is used in ServiceNow Discovery Patterns.
Submitted by
James Griffith
-
2 years ago
2021-09-24 19:39
(Last modified 2 years ago)
2021-09-24 19:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSV CIDR subnets
ECMAScript (JavaScript)
Comma separated CIDR network addresses
Submitted by
Glenn
-
2 years ago
2021-09-24 14:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
2 years ago
2021-09-23 15:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
single ling prop to multi line
ECMAScript (JavaScript)
single ling prop to multi line
Submitted by
anonymous
-
2 years ago
2021-09-23 08:09
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Viet Nam Phone Number
ECMAScript (JavaScript)
Viet Nam Phone Number Regex. This regex include: Cellphone number: Viettel, Vinaphone, Mobiphone, Vietnamobile, Iteltelecom, Reddi (055) Telephone number (such as: 024, 028,...) Start with Exactly 10 or 11 numbers
Submitted by
tuangt12
-
2 years ago
2021-09-22 16:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Third Strike - SRK Wiki - Any Guard Type
ECMAScript (JavaScript)
xxx
Submitted by
Clay Dunston
-
2 years ago
2021-09-18 00:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Add rgb for colour variables
ECMAScript (JavaScript)
Add rgb for colour variables
Submitted by
anonymous
-
2 years ago
2021-09-17 08:22
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
JavaScript semicolon adder
ECMAScript (JavaScript)
This is a regex to use on JavaScript code that is missing semicolons
Submitted by
samunemeth
-
2 years ago
2021-09-16 19:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RegEx Workshop
ECMAScript (JavaScript)
Phone Number RegEx
Submitted by
Anthony Cooper
-
2 years ago
2021-09-16 19:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Youtube video URL or empty
ECMAScript (JavaScript)
Matches correct youtube video urls and empty strings.
Submitted by
xeon927 on stackoverflow
-
2 years ago
2021-09-14 12:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Separate Autocomplete Fields
ECMAScript (JavaScript)
Autocomplete Fields Regex
Submitted by
anonymous
-
2 years ago
2021-09-10 14:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find last occurrence of char in a string
ECMAScript (JavaScript)
Find last occurrence of . can be replaced with anything .
Submitted by
Volgers
-
2 years ago
2021-09-10 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Interesante
ECMAScript (JavaScript)
Obtener Texto
Submitted by
Asura
-
2 years ago
2021-09-10 01:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ATST_RESTRICTED
ECMAScript (JavaScript)
ATST_RESTRICTED
Submitted by
anonymous
-
2 years ago
2021-09-09 03:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PEM Key File Headers
ECMAScript (JavaScript)
Match OpenSSL defined PEM key headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
2 years ago
2021-09-09 01:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add string after matching 1st occurence, every line
Golang
Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).
Submitted by
Nikos Alexandris
-
2 years ago
2021-09-08 10:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PEM X509 Certificate Header
ECMAScript (JavaScript)
Match X509 pem file headers https://github.com/openssl/openssl/blob/master/include/openssl/pem.h
Submitted by
clarkttfu
-
2 years ago
2021-09-08 02:23
(Last modified 2 years ago)
2021-09-09 08:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
2 years ago
2021-09-04 20:32
1
...
33
34
35
36
37
38
39
...
178
Strip from Token to End of Line
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
\s
*
--
.
*
)
(
,
?
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-08-24 00:28