For whatever reason, I'm having a difficult time trying to get the port value 
out of the following string using ereg:

 

<sip:[email protected]:4161;transport=Tcp;maddr=192.168.88.20;x-mss-call-id=1-4484%40192.168.81.176>

 

I want to grab both this entire line (excluding the '<' and '>'); I also want 
to grab the "4161" value at the end of the URI.  Can anyone help me out on 
figuring the regular exp to use?  

 

To sum up:

[$1]=sip:[email protected]:4161;transport=Tcp;maddr=192.168.88.20;x-mss-call-id=1-4484%40192.168.81.176

[$2]=4161

 

I really appreciate the help!  Normally I'm good with regexp's but today I just 
can't get things to work...

 

Thanks!

_________________________________________________________________
Hotmail® has ever-growing storage! Don’t worry about storage limits.
http://windowslive.com/Tutorial/Hotmail/Storage?ocid=TXT_TAGLM_WL_HM_Tutorial_Storage1_052009
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to