Selecting more text than wanted

Questions and answers about anything related to Helium Scraper
Post Reply
Darrylglenn
Posts: 11
Joined: Wed Jun 29, 2011 8:16 pm

Selecting more text than wanted

Post by Darrylglenn » Thu Jun 30, 2011 8:28 pm

Hi,

Got everything working execpt the following:
On page http://www.darrylglenn.nl/helium/Company1.html i have a address but when I select it, I selects the streetname, postalcode and city.
I want to select it seperatly, can you help me again? :)

I took a look at the "linesblock" but it only works for lines, not a particulair word on a line..

Thanks!

webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Selecting more text than wanted

Post by webmaster » Fri Jul 01, 2011 2:55 am

I assume 1000AA in your sample represents the zip code. If so, is the zip code always a single word (meaning it never has spaces inside)? If so, I'll make a premade to match words in lines. This way you could set it to match the first word in the second line to match the zip code, for instance. Let me know.
Juan Soldi
The Helium Scraper Team

Darrylglenn
Posts: 11
Joined: Wed Jun 29, 2011 8:16 pm

Re: Selecting more text than wanted

Post by Darrylglenn » Fri Jul 01, 2011 6:10 am

Hi Juan,

Yes, this is the zipcode and it's always the same.

Thanks!

webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Re: Selecting more text than wanted

Post by webmaster » Fri Jul 01, 2011 7:12 am

Hi,

Here is what you need. It extracts a particular set of words (or a word) from a particular line. It's almost the same as the LinesBlock one, but you set a line number, a first word number and a last word number. It's actually already set to extract the zip code on your example.
Attachments
WordsInLine.hsp
(298.5 KiB) Downloaded 579 times
Juan Soldi
The Helium Scraper Team

Post Reply