regexmatch.dev
Explore
Open main menu
Save & Share
Facebook
Twitter
Tumblr
E-Mail
Pinterest
LinkedIn
Reddit
Find scripts or css URIs
Published on Tue Mar 01 2022
Given script or link tags, find and extracts URIs, excluding the double quotes
Regex
Test String
<script src="$/frontend/privacy/js/flip/jquery.flip.min.js"></script> <script src="$/frontend/privacy/js/privacy.js"></script> <script src="$/frontend/global/assets/js/jsplate.js"></script> <script src="$/frontend/privacy/js/family_members.js"></script> <script src="$/frontend/privacy/js/relationships.js"></script> <script src="$/frontend/privacy/js/invitation.js"></script> <link href="$/frontend/global/assets/css/includes/setup.css" rel="stylesheet"/> <link href="$/frontend/privacy/css/privacy.css" rel="stylesheet"/>
Additional matching regexes for
Find scripts or css URIs
Find scripts or css URIs
Given script or link tags, find and extracts URIs, excluding the double quotes
Isolate string in double or single quotes
Isolate strings inside double or single quotes
Outside Quotes
match any string outside of single or double quotes
Get inside single/double quotes
Get everything inside single/double quotes and ignoring escaped ones
Match quoted strings, ignoring escaped quotes
Matches single or double quoted strings, and ignores backslash-escaped quotes within the string.
URL Domain Extractor
Extracts and returns the domain name from a given URL.
Number invalidator
Including +/-12.3. etc. Excluding MH12, etc.
between quotes
Grabbing data beteween quotes.
File name without extension from linux path
If given a linux file path match the filename without the extension. It extracts FileNameWithoutExtension into its own match group so that you can use it in things like Logstash Grok.
Quote Parsing
Parses quotes and can be escaped