The Appliance has been configured to deny administration from your location (54.90.92.204). Data From Field Example - grabbing Price from Text
Logo

Search Appliance


 

Thunderstone Search Appliance Manual

<<Previous: Data From Field Example ↑Up: Data from Field Next>>: Data From Field Example

Data From Field Example - grabbing Price from Text

The target site might not be organized enough to stick the Price value in a meta header. If every page contains text in the format Price: $19.95, Data From Field can key in on that.

REX Search - Price:=\space+\$\P=[0-9\.]+ Replace - (Empty) From Field - Text From Meta Field - (Empty) To Field - Price

Notice that we use the field Text as the source, not HTML. By operating on the formatted text instead of the raw HTML source, it allows proper operation even if the HTML source uses things like Price: <b>$19.95</b> or <td>Price:</td><td>$19.95</td>.


Copyright © Thunderstone Software     Last updated: May 9 2017

<<Previous: Data From Field Example ↑Up: Data from Field Next>>: Data From Field Example

Page generated in 0.17 seconds.
2017-12-13 04:24:10 EST