Hi, I am trying to match:
Code:
<span style="display: none;">2012/03/10 19:44</span>
<span style="display: none;">2012/05/11 19:44</span>
<span style="display: none;">2012/04/10 06:44</span>
The "display: none;" will be consistent with a space in between strictly, the only variable is the time span and it is the actual string i am trying to extract.
Code:
sed -rn ':span style="display: none;">.*<\/span:\1:p' "$html"
Thanks,