Hi folks,

Seen this discussed on here a bit in the past, so I hope someone
remembers and can help me sort of quickly before I go nuts, declare
victory and move on to another problem :)

My regular expression abilities are ... limited. This is what I'm 
trying to accomplish:

An input buffer to a function will consist of a chunk of HTML code.
This code includes the use of stylesheets, generally in the form 
of "<SPAN CLASS='something'>text here</SPAN>".

I'd like to find a regular expression that'll match each of these 
occurrences within the text, thus allowing me to pull out "something"
and "text here". (Why do I want to do this? To convert the style
sheet into <FONT FACE> tags... its neccessary, if ugly. :\).

Any help would be appreciated, thanx!

Jason

-- 
Jason Murray
[EMAIL PROTECTED]
Web Design Team, Melbourne IT
Fetch the comfy chair!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to