regexmatch.dev
Explore

Save & Share

Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit

Smart Target Blank

Published on Tue Mar 01 2022

Allow you to check if the JavaScript `location.pathname` is a link required adding a target="_blank".

Additional matching regexes for
Smart Target Blank

Smart Target Blank

Allow you to check if the JavaScript `location.pathname` is a link required adding a target="_blank".

split URL into location-resource-params (JavaScript)

Extract resource location, name and query parameters from a URL (JavaScript version)

what3words

This pattern check three words with a dot separator betwwern words. It use unicode; It is not yest compatible with javascript

split URL into location-resource-params

Extract resource location, name and query parameters from a URL

SSN

allow nine digits only

Date Testing

Javascript date regex

remove blank keys in query string

looks for blank keys in the query string and remove it, in order to make shorter request.

Brackets Items

This REGEX, allow extract all words in brackets [].

LeafletJS filename matcher

Regex used to identify location, i.e. URL of the <script> tag that loaded Leaflet (or Mapbox).

javascript regex ftp directory list

javascript regex ftp directory list