Page 1 of 1

string between strings

Posted: Tue Jun 26, 2007 7:54 am
by itsmani1
Hi
i want to get string between "<contact:id>" and "</contact:id>"
the value between both strings is changeable is there any function that can help me in finding this value or if any regular expression?


string:
<contact:id>Olnic502585</contact:id>


thanks

Posted: Tue Jun 26, 2007 7:57 am
by feyd
This type of regex has been talked about endlessly in the regex board, please look there.