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,700 community submitted regex patterns...
0
Google-like search query pattern matching
ECMAScript (JavaScript)
To identify quoted strings, single terms as well as subtracting those types. Based on: http://stackoverflow.com/questions/1883188/google-like-search-query-tokenization-string-splitting
Submitted by
Michael La Voie
-
9 years ago
0
Xml Start Cleaner
ECMAScript (JavaScript)
Selects Xml version and Encoding and whitespaces
Submitted by
Edward Coughlan
-
9 years ago
0
Password Any Character len: 8-63
ECMAScript (JavaScript)
Test for Password using any character. Length of password can be from 8 - 63 characters
Submitted by
Jerry Orta
-
9 years ago
0
phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
phone number russia
Python
phone number without spaces or hyphens +7YYYXXXXXXX
Submitted by
vscoder
-
9 years ago
0
WEB URL
ECMAScript (JavaScript)
only WEB URL ex:http://aaa.com.tw https://aaa.com aaa.com aaa.com.tw
Submitted by
anonymous
-
9 years ago
0
CPE 466 Lab 1 Sentence Delimiter
Python
no description available
Submitted by
anonymous
-
9 years ago
0
RegEx for weaterdata from a YR xml file
Python
no description available
Submitted by
Noko
-
9 years ago
0
get params from json
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
HTTP / HTTPS link check
ECMAScript (JavaScript)
Check if string contains a valid HTTP / HTTPS link
Submitted by
Dimorphic
-
9 years ago
0
find a string (placeholder) inside a string
Python
find a string (placeholder) inside a string
Submitted by
vikash Kumar Agarwal (vikashmnk)
-
9 years ago
0
Regex json
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Email ID-Full Validation
ECMAScript (JavaScript)
This Regx has full validation of a standard email ID
Submitted by
Eric Abraham
-
9 years ago
0
Get 'value' attribute in 'a' html tag
ECMAScript (JavaScript)
Regex used to avoid text-angular/angular $sanitize temporarily
Submitted by
Derek Severson
-
9 years ago
0
first word until whitespace/linebreak
ECMAScript (JavaScript)
no description available
Submitted by
jpeldes
-
9 years ago
0
APACHE_ACCESS_LOG_PATTERN
Python
Used in lab2 spark for pyspark access log pattern recognition
Submitted by
anonymous
-
9 years ago
0
JSON Double Quoting
ECMAScript (JavaScript)
Insert double quotes between matches around colons. You need to wrap substition.substr(1)+'"' with parenthesis afterwards. (substr is needed to remove hanging doublequote at the start of the string) ex) var json = '{ '+json_ish.replace(regex,subs).substr(1)+'" }'; ...
Submitted by
anonymous
-
9 years ago
0
Outside attr keyword
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
9 years ago
0
shankar g mirpuri social security number
Python
no description available
Submitted by
anonymous
-
9 years ago
1
...
11
12
13
14
15
...
285
ES6 Imports/exports/dynamic: Getting the paths
2
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?<=
(?:
import
|
export
)
[^
`'"
]
*
from
\s
+
[
`'"
]
)
(?<path1>
[^
`'"
]
+
)
(?=
(?:
'
|
"
|
`
)
)
)
|
(?:
\b
(?:
import
|
export
)
(?:
\s
+
|
\s
*
\(
\s
*
)
[
`'"
]
(?<path2>
[^
`'"
]
+
)
[
`'"
]
)
/
gm
Open regex in editor
Description
It will match the paths of js modules imports, exports and dynamic imports.
Submitted by
anonymous
-
4 years ago