View Single Post
Old 03-08-2012, 03:42 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,619
regex to match a class element

im looking to match a h1 tag with a class, but also match after that class so

<h1 class="video-title one two clearfloat">get this</h1>

/<h1 class="video-title .*?\">(.*?)<\/h1>/

is this correct?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Newest Theme
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote