Try this pattern:<div>&quot;(7?3435)?230%d%d%d</div><div><br></div><div>-MC<br><br><div class="gmail_quote">On Thu, Apr 21, 2011 at 12:59 AM, Boris Kovalenko <span dir="ltr">&lt;<a href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

  
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hello!<br>
    <br>
    After your message I found that and my regex is invalid too :)  No,
    I need:<br>
    <br>
    73435230xxx<br>
    3435230xxx<br>
    230xxx<div><div></div><div class="h5"><br>
    <br>
    <br>
    <blockquote type="cite">So you want all these to match?
      <div>73435230xxx</div>
      <div>7230xxx</div>
      <div>3435230xxx</div>
      <div>230xxx</div>
      <div><br>
      </div>
      <div>Just confirming...</div>
      <div>-MC<br>
        <br>
        <div class="gmail_quote">On Thu, Apr 21, 2011 at 12:01 AM, Boris
          Kovalenko <span dir="ltr">&lt;<a href="mailto:boris@tagnet.ru" target="_blank">boris@tagnet.ru</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hello!<br>
            <br>
                May somebody help me how to write regex
            ^7?(3435)?230\d{3} with LUA<br>
            pattern? I&#39;ve tried ^7?3435?230%d%d%d and this is wrong.<br>
            <br>
            --<br>
            С уважением,<br>
              Борис Коваленко<br>
              ЗАО &quot;Тагнет&quot;<br>
              тел. +7 (3435) 230001<br>
              факс +7 (3435) 230005<br>
            <br>
            <br>
            _______________________________________________<br>
            FreeSWITCH-users mailing list<br>
            <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
            <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
            UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
            <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    </div></div><pre cols="72">-- 
С уважением,
  Борис Коваленко
  ЗАО &quot;Тагнет&quot;
  тел. +7 (3435) 230001
  факс +7 (3435) 230005
</pre>
  </div>

<br>_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>