Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Simple Regular Expressions Question
May 20, 2006, 4:54 pm
rate this thread
has city, state, country.
What I want to do is use preg_match to find that line, which can be in
different places. I am trying to strip some data from some webpages that I
have. So I'm writing a PHP script to do it.
I was hoping to do a preg_match that could find a variable number of
letters followed by a comma, follwed by a space, followed by another
variable number of letters, followed by a comma. Then I know I have the
line I'm looking for.