<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=PT-BR link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Opppsss.... <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>I think that You make a
little typo....<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Wouldn&#8217;t the
correct be &#8220;^sip:1[0-9]{8}@&#8221; to match all numbers with 9 digits
initiated by an &#8216;1&#8217; and followed by any combination of digits (from
&#8216;0&#8217; to &#8216;9&#8217;)?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'>Edson<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
users-bounces@openser.org [mailto:users-bounces@openser.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>raviprakash sunkara<br>
<b><span style='font-weight:bold'>Sent:</span></b> quarta-feira, 29 de novembro
de 2006 11:35<br>
<b><span style='font-weight:bold'>To:</span></b> Jayesh Nambiar<br>
<b><span style='font-weight:bold'>Cc:</span></b> Users@openser.org<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Users] regular
expression</span></font><span lang=EN-US><o:p></o:p></span></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 11/29/06, <b><span style='font-weight:bold'>Jayesh
Nambiar</span></b> &lt;<a href="mailto:voip_freak@yahoo.co.in" target="_blank">voip_freak@yahoo.co.in
</a>&gt; wrote:</span></font></span><o:p></o:p></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Hi all,<br>
Can someone please help me in formulating a regular expression. I have an
expression like this:<br>
if(uri=~&quot;^sip:1[0-9]*@) <br>
This matches numbers like 15552221212, but also matches number like
15552221212#.<br>
<br>
when i make it as:<br>
if(uri=~&quot;^sip:1[0-9]@*)<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<b><span style='font-weight:bold'>Use this <br>
if (uri=~&quot;^sip:1{8}[0-9]@&quot; ) <br>
<br>
</span></b><br>
&nbsp;<o:p></o:p></span></font></p>

</div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-right:0cm'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Again this matches any special characters after the number.<br>
<br>
I just wanted a regular expression that will match only numbers and no
alphabets or special characters.<br>
Can someone please help me to formulate a regular expression for this. <br>
<br>
Thanks in advance.<br>
<br>
w/regards,<br>
Jayesh<o:p></o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=1 width="100%" align=center>

</span></font></div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Find out what India is talking about on - <a
href="http://us.rd.yahoo.com/mail/in/yanswers/*http:/in.answers.yahoo.com/"
target="_blank">Yahoo! Answers India</a> <br>
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. <a
href="http://us.rd.yahoo.com/mail/in/messengertagline/*http:/in.messenger.yahoo.com"
target="_blank">Get it NOW</a><o:p></o:p></span></font></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openser.org" target="_blank">Users@openser.org</a><br>
<a href="http://openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<o:p></o:p></span></font></p>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<br>
-- <br>
Thanks and Regards<br>
Ravi Prakash Sunkara <br>
<a href="mailto:ravi.sunkara@hyperion-tech.com" target="_blank">ravi.sunkara@hyperion-tech.com
</a><br>
M:+91 9985077535<br>
O:+91 40 23114549<br>
F:+91 40 40208727 <br>
<a href="mailto:ravi.sunkara@hyperion-tech.com" target="_blank">ravi.sunkara@hyperion-tech.com
</a><br>
<a href="http://www.hyperion-tech.com" target="_blank">www.hyperion-tech.com </a><o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>