<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/6711" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2004-01-28T18:10:34-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/6711</id>

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-01-28T18:10:34-04:00</updated>

		<published>2004-01-28T18:10:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=33044#p33044</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=33044#p33044"/>
		<title type="html"><![CDATA[only get data from &quot;today&quot; til &quot;yesterday&quo]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=33044#p33044"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set A [clock format [clock sec] -format %D]set B [clock format [clock scan "yesterday"] -format %D]regexp $A.*?$B $html AtoB</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Jan 28, 2004 6:10 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2004-01-27T06:33:32-04:00</updated>

		<published>2004-01-27T06:33:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=32930#p32930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=32930#p32930"/>
		<title type="html"><![CDATA[only get data from &quot;today&quot; til &quot;yesterday&quo]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=32930#p32930"><![CDATA[
Hi,<br><br>I will get only the code from the date "<span style="color:blue">today</span>" (should be displayed) til "<span style="color:red">yesterday</span>" (shouldn't be displayed)<br><br>This is the source code (all in ONE line):<blockquote class="uncited"><div>.....muchHTMLcodeBefore&lt;TD align=center WIDTH="16.6666666666667%" ALIGN="RIGHT" class=bcMTitle&gt; Change &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD ALIGN="RIGHT" class=bcText&gt; <span style="color:blue">01/27/04&lt;/TD&gt;&lt;TD ALIGN="RIGHT" class=bcText&gt; 1154.25&lt;/TD&gt;&lt;TD ALIGN="RIGHT" class=bcText&gt; 1154.75&lt;/TD&gt;&lt;TD ALIGN="RIGHT" class=bcText&gt; 1151.00&lt;/TD&gt;&lt;TD ALIGN="RIGHT" class=bcText&gt; 1151.50&lt;/TD&gt;&lt;TD ALIGN="RIGHT" class=bcTextRed&gt; -2.75&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;&lt;TABLE WIDTH="100%" BORDER=0 CELLPADDING=2 CELLSPACING=1&gt;&lt;TR&gt;&lt;TD WIDTH="16.6666666666667%" ALIGN="RIGHT" class=bcText&gt;</span><span style="color:red">01/26/04</span>&lt;/TD&gt;&lt;TD WIDTH="16.6666666666667%" ALIGN="RIGHT" class=bcText&gt;1140.00&lt;/TD&gt;&lt;TD ...and so on (all in one line)</div></blockquote>I can regexp the html code with:<blockquote class="uncited"><div>[regsub -all {&lt;[^&gt;]*&gt;} $line {} line]</div></blockquote>But how can I get only the blue colored one (just from the date today til yesterday).<br>(Date is changing daily of course  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool">)<br><br>Thanks!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Tue Jan 27, 2004 6:33 am</p><hr />
]]></content>
	</entry>
	</feed>
