noob question - splitting data in extractor Pattern

i am writing a basic script to grab some contact info from a website.

however the first half of the post code is getting included in with the county

the extractor Pattern code:

~@TNAME@~

~@TROAD@~, ~@TTOWN@~, ~@TCOUNTY@~ ~@TPCODE@~
Tel: ~@TPHONE@~

can anyone help?
just can't seem to find a solution.

thanks in advance

Ash

noob question - splitting data in extractor Pattern

Ash,

If those are US Zip codes you can use the regular expression already available within screen-scraper. Otherwise, you can Google around for a regular expression that will match the postal code for the location in question.

Either way, regex is your solution.

-Scott