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

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Extract "src" attr from EMBED tag (for Flash)
Expression
(?<=<embed\s[^<>]*?src\s*?=\s*?\x22)[^<>]*?(?=\x22[^<>]*?>)
Description
This pattern will extract the "src" attribute of an EMBED tag. I created it for extracting the URI of an Adobe Flash animation from some HTML, but of course it would work for more general purposes. Don't forget to turn on case insensitivity.
Matches
In &lt;embed src="somefilename.swf" width="550" height="400"&gt; matches "somefilename.swf"
Non-Matches
Doesn't match the surrounding HTML.
Author Rating: Not yet rated. Tim Denby
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

Title: my4ex
Name: broker
Date: 10/3/2006 12:16:22 PM
Comment:
i searched for a forex trading platform and everyone i know recommended my4ex. i'v searched the web and found http://www.my4ex.com . they have an online trading platform with every chart available. they also have a new version of their forex trading platform that's supposed to come out soon. i have seen the beta and it looks great. i stornglly recommend http://www.my4ex.com


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