actually problem is not clear... is this ur problem that....ur regular expression contains the list of 300 zip codes.... and u want to search that on any string...that if any zip code is present it will report...and u want us to give suggestion to make this regular expression shorter....
is this the problem?? On 8/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I have a regexp which looks like: > > ^94530|94540|........a very long list of zip codes separated by |....| > 94397$ > > I want to reduce the regexp length. How can I do that? TIA. > > On Jul 31, 5:58 pm, dor <[EMAIL PROTECTED]> wrote: > > On Jul 23, 10:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > > I have a list of zip codes (300) and I want to compress it so that my > > > regexp is concise. Can someone give me some pointers please? TIA. > > > > What regular expression might that be? What's the connection between > > the title of your post and the problem you are trying to solve? > > Can you be a little more precise? > > > > > -- With Best Regards... ------------ Manish --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---