Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » address
  • Re: Extract all except street, street no. and ZIP

    Super! I didin't think of using the *invert* function. That makes me a breeze Sunday Evening and I hope yours too. Frank
    Posted to Construction Advice (Forum) by frank on September 2, 2007
  • Extract all except street, street no. and ZIP

    Hi Everybody   Use this Algorithm or Regex you call it:  (\S+\s+){0,2}\d{5} And this address: Mitnick, John and Julia (-Wimbledon) Wallstreet 355 55742 New York (888) 932 21 78  Surname, given name (-maiden name) street street no ZIP City Telephone no. This will result in  Wallstreet 355 55742 , exactly, extracting the ...
    Posted to Construction Advice (Forum) by frank on September 1, 2007
  • Need a regex to match dynamic IP address sending e-mail

    I'm working with Exchange 2007, which support regex expressions for filtering messages.  The majority of spam is sent from zombies that are most often on computers with dynamic IP address.  So if you look at the message header you will see something like the following examples: Received: from ...
    Posted to Construction Advice (Forum) by Izzy on July 20, 2007
  • Re: Extract Road Name from Address

    Thanks!  I had some issues with the regex provided, but after further tweaking i got the final working solution. Here it is.. regex: \b\d+((?(?=[a-z])[a-z]))\s+(\b\w+\b\s+){1,3}(road|street) This will now work with: "6A XYZ COURT 1A CASTLE PEAK ROAD HONG KONG" "6 XYZ COURT 1 CASTLE PEAK ROAD HONG KONG" "6A XYZ COURT ...
    Posted to Construction Advice (Forum) by atp on March 16, 2007