RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find *.css without http
Expression
(href=|url|import).*[\'"]([^(http:)].*css)[\'"]
Description
get all css links, tags ect without http, i needed this to my web crawler, maybe somebody need this to ;)_
Matches
import url("some.css"), import("some.css"), <link rel="STYLESHEET" type="text/css" href="some.css">
Non-Matches
import url("http://domain.com/some.css"), import("http://domain.com/some.css"), <link rel="STYLESHEET" type="text/css" href="http://domain.com/some.css">
Author Rating: The rating for this expression. Krzysztof Chełchowski
Source
Your Rating
Bad Good

Enter New Comment

Title
 
Name
 
Comment
 
Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials