J
jenson
I use wget to download a web page.
Now I need to extract the price info from the following line.
Prev Close:</td><td class="yfnc_tabledata1">4.83</td></tr><tr><td
class="yfnc_tablehead1" width="48%">Open:</td><td
class="yfnc_tabledata1">4.85</td></tr><tr><td class="yfnc_tablehead1"
width="48%">Bid:
Question:
1. How can I get a value between 2 pattern within a line? (My intention is
to get the value 4.83)
e.g. pattern1 is Prev Close:</td><td
class="yfnc_tabledata1">
pattern2 is </td></tr><tr><td
class="yfnc_tablehead1" width="48%">Open:
Any help is much appreciated.
Jenson
Now I need to extract the price info from the following line.
Prev Close:</td><td class="yfnc_tabledata1">4.83</td></tr><tr><td
class="yfnc_tablehead1" width="48%">Open:</td><td
class="yfnc_tabledata1">4.85</td></tr><tr><td class="yfnc_tablehead1"
width="48%">Bid:
Question:
1. How can I get a value between 2 pattern within a line? (My intention is
to get the value 4.83)
e.g. pattern1 is Prev Close:</td><td
class="yfnc_tabledata1">
pattern2 is </td></tr><tr><td
class="yfnc_tablehead1" width="48%">Open:
Any help is much appreciated.
Jenson