Regular Expression matches for 'Houses For Sale'
Hi everybody,
I am working on scraping of 'real estate classifieds' site.
Here i face a problem getting values for 'houses for sale' section from that site. I feel the issue is in regular expression, because i mention 'houses for sale' but the result i get is for 'houses' section.
I actually need to block the 'houses' section values and get the 'houses for sale' section values.
Please help me to solve the above issue.
Thanks in advance,
Vivek
Regular Expression matches for 'Houses For Sale'
vivek,
A token's regular expression can take a literal string. So, if you want to match "Houses for Sale" then use that exact phrases. It is case-sensitive so it will not match "Houses For Sale", for example. If you have variation on that phrase, you could put this as your regular expression field.
Houses for Sale|Houses For Sale
Which will match either or both variations.
Hope this helps.
-Scott