<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Extracting data from inbox]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Extracting data from inbox of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Fri, 11 Mar 2011 13:48:37 +0200</lastBuildDateTag>		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32846/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			<br />====quote====<br />hare hare wrote:<br />Well, i know all my phone numbers are in 'xxx-xxx-xxxx' format, but they arent exactly in the same placement within the message, nor have the same keyword in front of them.<br /><br />=============<br /><br />I've created small quick template, try to test it:<br />
====code====
<pre>%IF:"%_telFirsttime"="":"%-
%_telFirsttime(NIE)%-
%_text='%Text'%-
"%-
%SETPATTREGEXP="(?s)(&#92;d{3}&#92;-&#92;d{3}&#92;-&#92;d{4})(&#91;^&#92;d&#93;.*)"%-
%REGEXPBLINDMATCH(%_text)%-
%SUBPATT(1)
%_text="%SUBPATT(2)"%-
%IF:"%_text"&#60;&#62;"":"%QINCLUDE(tels)"%-</pre>
=============
<br /><br />Important - name (handle) of this template is 'tels' (if You want to change it remember about changing %QINCLUDE parameter).<br /><br />Test this in some messages with telephone numbers (reply, type 'tels' and hit ctrl+space).<br /><br />To use this template in filter create a filter (in read messages), with condition 'any message', action: export the message (choose a file path and name, will be created) with export format plain text and template<br />
====code====
<pre>%QINCLUDE(tels)%-</pre>
=============
<br />Mark option &quot;Append to the existing file&quot;.<br /><br />In tab &quot;Options&quot; of this filter mark options &quot;...active&quot; &quot;...for manual refiltering&quot;, add hotkey (for example ctrl+shift+1). Mark some messages, press hotkey and... <br />
			<i>11 March 2011 13:48:37, <a href="http://www.ritlabs.com/en/forums/">K_S</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32846/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32846/</guid>
			<pubDate>Fri, 11 Mar 2011 13:48:37 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32845/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			I wouldn't try it, too little chance that it's going to work <br />
			<i>11 March 2011 11:30:38, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32845/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32845/</guid>
			<pubDate>Fri, 11 Mar 2011 11:30:38 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32844/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Thanks for the prompt response once again.<br />Well, i know all my phone numbers are in 'xxx-xxx-xxxx' format, but they arent exactly in the same placement within the message, nor have the same keyword in front of them.<br /><br />Any chance I can still get this going? Let me know. Thanks <br />
			<i>11 March 2011 07:25:59, <a href="http://www.ritlabs.com/en/forums/">hare hare</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32844/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32844/</guid>
			<pubDate>Fri, 11 Mar 2011 07:25:59 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32839/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Same placement or same keyword in front of the phone number.<br />But you'll need some regular expressions to extract the phone number, I don't know whether that's an option for you....<br /><br />How to create templates? In this case trhat would be to create a filter with an export action and there yopu'll find a template button. <br />
			<i>10 March 2011 19:24:32, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32839/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32839/</guid>
			<pubDate>Thu, 10 Mar 2011 19:24:32 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32838/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			Can you please expand a little further on this?<br />Same format in terms of 'xxx-xxx-xxx'(numbers) or in terms of 'same placement' in every mail?<br />and how do I create a template? <br /><br />Thanks again <br />
			<i>10 March 2011 18:56:20, <a href="http://www.ritlabs.com/en/forums/">hare hare</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32838/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32838/</guid>
			<pubDate>Thu, 10 Mar 2011 18:56:20 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32836/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			If those messages have got the same format, you could create a template that extracts the phone number and with that template linked to a (manual) filter you extract whatever info you want.<br />However if they don't have a format in common then you're out of luck. <br />
			<i>10 March 2011 09:14:29, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32836/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32836/</guid>
			<pubDate>Thu, 10 Mar 2011 09:14:29 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
		<item>
			<title>Extracting data from inbox</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum4/topic9866/message32835/">Extracting data from inbox</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum4/">The Bat! - Configuring the E-mail Client</a>. <br />
			I am wondering if there is a way to extract data from inbox?<br />For example, I have 100 emails that contains 'phone numbers' in them,<br />is there a macro/script that extract those data from each mail and put them into .txt file?<br /><br />Please advise. Thanks <br />
			<i>10 March 2011 08:47:42, <a href="http://www.ritlabs.com/en/forums/">hare hare</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum4/topic9866/message32835/</link>
			<guid>http://www.ritlabs.com/en/forums/forum4/topic9866/message32835/</guid>
			<pubDate>Thu, 10 Mar 2011 08:47:42 +0200</pubDate>
			<category>The Bat! - Configuring the E-mail Client</category>
		</item>
	</channel>
</rss>
