View Single Post
Old 05-28-2009, 06:03 PM   #1 (permalink)
Mobius
Mobius's Avatar
 
True Techie

Join Date: Jul 2008

Location: Toronto, Canada

Posts: 147

Mobius is on a distinguished road

Default Regular expression help

Hi guys,

I was wondering if any of you know how I can use regular expression to extract the style attribute out of an html tag

for example:

<p style="blah" class="blah">

I want the result to be style="blah" i tried different ones and ended up with including the last occurence of double quote, so it gave me class="blah" as well.

any help would be great!

Thank you
Mobius
__________________
Project Mobius Web/Graphic Design - [PM me for logo/banner/site designs]
The Web Tech Reviews - [My tech / game review related blog]
Free MMOPRG Games: Secret of Solstice & Fiesta Online
Mobius is offline