i'm trying to extract $substring from $text - where $text is a block of html and $substring is anything between
in $text.
but this doesn't seem to be working. i'm not sure if my regex is right first of all. also, is there any way to do this without using the global variable $1?