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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,500 community submitted regex patterns...
0
extract numbers from DMS (degrees, minutes, seconds)
ECMAScript (JavaScript)
extract numbers from DMS (degrees, minutes, seconds). 33°28′17″ N ----> 33 / 28 / 17
Submitted by
anonymous
-
2 years ago
0
US Stock Exchange symbols
Python
Regex for Telegram Bot
Submitted by
Lucas Zurverra
-
2 years ago
0
Superscript symbols and numbers in HTML only where valid.
ECMAScript (JavaScript)
Superscript most symbols and numbers in HTML, but not in actual HTML tags where they also may appear but would create invalid HTML.
Submitted by
Colin Whelan
-
2 years ago
0
Test molecule coverage
Python
Regex to test covered tests
Submitted by
Florian Toulemont
-
2 years ago
0
parse sqf defines
Python
parsing armas sqf preprocessor defines
Submitted by
anonymous
-
2 years ago
0
Detect start of words to then convert string to camelCase, kebab-case, snake_case, etc.
ECMAScript (JavaScript)
You can use this to match the first character in each word. Use a function to then iterate over the matches to transform into the various cases.
Submitted by
Matt Scheurich
-
2 years ago
0
Currency
ECMAScript (JavaScript)
Currency
Submitted by
jerryd
-
2 years ago
0
remove any salutation like mr. mrs Dr. etc from the beginning of the name
ECMAScript (JavaScript)
remove any salutation like mr. mrs Dr. etc from the beginning of the name
Submitted by
prax
-
2 years ago
0
CSV Parsing one by one value including \n
ECMAScript (JavaScript)
CSV Parsing one by one value including \n
Submitted by
Dirk Holtwick
-
2 years ago
0
匹配句子,第一个单词首字母大写,结尾匹配句号、问好、感叹号。
ECMAScript (JavaScript)
[A-Z]+[\.?!]
Submitted by
anonymous
-
2 years ago
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
2 years ago
0
Bad Markdown Links matcher
ECMAScript (JavaScript)
// Expecting this is a string, will try to replace md links // in wrong format: // [link nowhere] or [link] // to just link nowhere or link
Submitted by
diegoaguilar
-
2 years ago
0
Matches filenames in urls
ECMAScript (JavaScript)
Filenames in urls
Submitted by
anonymous
-
2 years ago
0
Match filenames in URLS (updated)
ECMAScript (JavaScript)
Match filenames in URLS (updated)
Submitted by
anonymous
-
2 years ago
(Last modified a year ago)
0
ipv4 addresses
Python
Valid ip addreses
Submitted by
anonymous
-
2 years ago
0
Тестовая строка
ECMAScript (JavaScript)
Здесь можно тренироваться с регулярками
Submitted by
anonymous
-
a year ago
0
check strinf begin with a word
Python
you can change the word that you want to check begins within the string by changing the "test" word in the regex
Submitted by
jumma
-
a year ago
0
apdl flst
Python
apdl flst
Submitted by
anonymous
-
a year ago
0
find unity components guid
ECMAScript (JavaScript)
use to find unity components guid
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
a year ago
1
...
259
260
261
262
263
...
275
import syntax for regex with grouping
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?<=
@import
\s
*
(
[
'"
]
|
url
\(
)
\s
*
)
(
(?:
\S
|
\\
\1
)+
)
\s
*
(?:
\1
|
\)
)
\s
*
\)
?
\s
?
(
.
*
?
)
;
)
/
g
Open regex in editor
Description
HAYO!
Submitted by
CreeJee
-
a year ago