Regular Expressions 101

Community Patterns

-3

s

ECMAScript (JavaScript)
s
Submitted by anonymous - 10 years ago
-3

1111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

111

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 10 years ago
-3

Html Tags

ECMAScript (JavaScript)
Matches HTML structure
Submitted by sagar - 8 years ago

URL (URI) - TOTAL Breakdown: Named Groups (Supporting Literal, Relative, Dynamic URLs, with/without Filename/Ext, Query Parameters and/or Anchor Tags)

1

Regular Expression
ECMAScript (JavaScript)

/
(?<FULLREQUEST>^(?<HOST>(?<PROTOCOL>(?:http)?s?:?\/\/)(?<DOMAIN>[^\/]+\/)|(?<RELATIVE>(?:\.*\/?)+))(?<PATH>[^\s]+\/)?(?<FILENAME>(?:(?<NAME>[^\/\s\.\?\#]+?)?(?<EXT>\.[^\s\?\#]*)?|(?:\/[^\/\s\?\#]+?)))(?<QUERYSTRING>\?[^\s\#]+)?(?<ANCHOR>\#\S+)?$)
/
gim

Description

Loading markdown...
Submitted by @JJ for Nerdy Deeds, LLC - 6 months ago
(Last modified 6 months ago)