Web Hosting Talk







View Full Version : Trivial question ? Have a look


actionman
05-20-2006, 10:43 AM
Hi,

I am trying to extract 2xhtml.xsl from the code below.


<?xml-stylesheet type="text/xsl" href="2xhtml.xsl"?>


I know this is possible with the use of regular expression but i really have no clue.

Please help !

thanks

JBelthoff
05-20-2006, 01:29 PM
My Regular Expression may be rusty and you might need to excape the Question mark but I think this should do it.

Regex("href="".+""?>")