Php regex

Associate
Joined
19 Jun 2006
Posts
162
Location
Swansea, Wales
Hey guys,

I want to parse a string to select only part of it. Sounds like regex to me but I'm crap at it so what would i need to get the "sip:[email protected]" part from the string below....

<sip:[email protected]>;tag=12d18c5009a2de32fca8ae9d70

The address will always be between < and > and always start with "sip:"

Thanks
 
Back
Top Bottom