newbie - Remove unwanted characters
Firstly - Great product, thanks.
As part of my first project I'm trying to scrape postcodes embedded within a link so I have to deal with the "+" character. I think there are two ways to do this - create two extractor patterns one for each half of the postcode and then stitch them together or when exporting the data use some form of embedded java to remove the "+".
My current extractor pattern is
Thank you
Thanks for the help.
newbie - Remove unwanted characters
you could add a script after each pattern is applied that replaces that character with an empty string. In the String class of Java there is a replaceAll method that would work. It would look like:
venue_postcode=session.getVariable("VENUE_POSTCODE");
venue_postcode.replaceAll("+", "");
session.setVariable("VENUE_POSTCODE", venue_postcode);