Find the answer to your Linux question:
Results 1 to 2 of 2
I have a project to come up with a regular exprestion for the follwoing. City, ST 12345 How does this look? [A-Z],[*a-z*][A-Z][A-Z][*1-9*]...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    66

    regexp

    I have a project to come up with a regular exprestion for the follwoing.

    City, ST 12345

    How does this look?

    [A-Z],[*a-z*][A-Z][A-Z][*1-9*]

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Good try, but not there yet. Look at the position of the comma and the contents of the second element [*a-z*] and the last element [*1-9*]. AFAIK, those are bogus.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...