<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: %SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in %SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 07 Feb 2009 15:40:11 +0200</lastBuildDateTag>		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message26973/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hello dear Bat´s God<br /><br />I still searching a solution for my problem of spaces in field that I try to recognise and delete, the good new is that I understand why I did not managed to remplace the different spaces till now. In fact these are not spaces but tabs (tabulations) and they look like spaces:<br /><br />this is my first exemple 1 :____Rzuchow k.Raciborza <br />this is the second 2 :________Raciborza ґs brother<br />and the third 3 :____________sister of Raciborza &nbsp;<br /><br />the ___ are my tabs that the bat change in spaces ... &nbsp;( I hate them &nbsp;<img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_wink.gif" border="0" data-code=";)" data-definition="SD" alt=";)" style="width:16px;height:16px;" title="" class="bx-smile" /> )<br /><br />Does anyone know how to recognise tabs in forms in order to get ride of them ?<br /><br />in fact this is very important for me because I use the bat in order to export some addresses in a .txt file that I have to import on Internet in order to prepare the labels for the post shipment.<br /><br />Please help <br />
			<i>07 February 2009 15:40:11, <a href="http://www.ritlabs.com/en/forums/">lemo nico</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message26973/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message26973/</guid>
			<pubDate>Sat, 07 Feb 2009 15:40:11 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message18991/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Lemo Nico,<br /><br />Try substituting the \s with (\s*?)<br />That probably makes it necessary to change the %subpatt='1' to %subpatt='2'<br /><br />So you'd get this:<br /><br />%SETPATTREGEXP="(?i-s)^tr­ansport\sdo:(\s*?)(.*)$|\z"%-­ <br />%REGEXPBLINDMATCH="%text"­%- <br />%SUBPATT="2"%- <br /><br /> <br />
			<i>17 August 2007 12:32:32, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message18991/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message18991/</guid>
			<pubDate>Fri, 17 Aug 2007 12:32:32 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message18990/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Micheal,<br /><br />Try this in your template:<br /><br />%SetPattRegExp="(?is)(.*?­)e-mail1:\s(.*?)\n"­%- <br />%RegExpBlindMatch="%Text"­%- <br />%To=''%To='%SubPatt="2"'%-<br /> <br />
			<i>17 August 2007 12:28:07, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message18990/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message18990/</guid>
			<pubDate>Fri, 17 Aug 2007 12:28:07 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message18980/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi everybody,<br /><br />I have about the same problem and the about same solution.<br /><br />Since I do not exactly have <br />"transport do: Rzuchow k.Raciborza"<br /><br />but insted something like<br /><br />"transport do: &nbsp; &nbsp; Rzuchow k.Raciborza"<br /> &nbsp; &nbsp; &nbsp; &nbsp; note the 5 spaces) <br /><br />I have to use the folowing template:<br /><br />%SETPATTREGEXP="(?i-s)^transport\sdo:\s(.*)$|\z"%-<br />%REGEXPBLINDMATCH="%text"%-<br />%SUBPATT="1"%-<br /><br />it as allways worked but now that I am try the new "The BAT" <br />I do not get with "%REGEXPBLINDMATCH="%text"%-" as usual the answer "Rzuchow k.Raciborza"<br /><br />but " &nbsp; &nbsp; Rzuchow k.Raciborza" with the 5 spaces that I do not need at all &nbsp;<img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_neutral.gif" border="0" data-code=":|" data-definition="SD" alt=":|" style="width:16px;height:16px;" title="" class="bx-smile" /> <br /><br />does anybody know how can I get ride of these 5 spaces?<br /><br />Since I am not the owner of the form I can not change it... <br /><br />thanks a lot in advance &nbsp; <br />
			<i>16 August 2007 20:23:53, <a href="http://www.ritlabs.com/en/forums/">lemo nico</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message18980/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message18980/</guid>
			<pubDate>Thu, 16 Aug 2007 20:23:53 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message6377/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi everybody,<br /><br />I have the same problem as Ernest (see top page).<br />I'm using webforms and want a reply template that can copy a specific field to the address field.<br /><br />example: <br />----------------- <br />e-mail1: Test@testing.com<br />----------------- <br /><br />"e-mail1:" is static, <br />"Test@testing.com" is the text entered by the clent. <br /><br />Bye Michael <br />
			<i>08 June 2005 04:45:03, <a href="http://www.ritlabs.com/en/forums/">Michael</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message6377/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message6377/</guid>
			<pubDate>Wed, 08 Jun 2005 04:45:03 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4747/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Well, you can use the scheduler to periodically refilter a specific folder.<br /><br />One of the filter actions is "Export message to " with an option of "Plain text" and "Append to existing file". This will extract the body text into a bulk text without the need to use regex.<br /><br />Next you need to process the summary mail. Again, a scheduled even a moment later can create a new message and using the %_bulk='%include="exported.txt"' macro grab a copy of the exported bulk text to be processed by regexp extractions.<br /><br />By clever use of recursive quick templates will allow you to pluck out names sequentially and summarise the details for each (see the Macro library on the FAQ web site for examples at <noindex><a href="http://www.silverstones.com/thebat/Library.html" target="_blank" rel="nofollow">http://www.silverstones.com/thebat/Library.html</a></noindex> - the re-wrap stuff is quite clever. Well - the MySQL server seems to be having trouble. But it will be back eventually).<br /><br />Hmm - this is non-trivial, isn't it. The problem is that you need to group the output by customer and generate a new outbound message for each. There may be something in one of the macro plugins to help here - I don't know. Running out of steam rapidly.<br /><br /> <br />
			<i>25 March 2005 10:17:52, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4747/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4747/</guid>
			<pubDate>Fri, 25 Mar 2005 10:17:52 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4738/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hi Marck,<br /> <br />Yep, I think that would work.. except now I think there are too many varying factors in this case to truly automate invoicing for multiple winning bidders at once. &nbsp;I'm not sure how I can use filter/regexp to search for common (unknown) text (the winning bidder's name, whatever it happens to be) in a group of messages that have arrived over a period of time. &nbsp;<br /><br />For example:<br /> <br />20 (or more) auctions close at different times (say, every 5-10 minutes over a period of 45 minutes or so). &nbsp;That results in sporadic incoming "congrats/item sold to user: xxxx" emails. &nbsp;First question is how to know when to start filtering/exporting and when to end? &nbsp;I suppose by clicking 're-filter' on some selected messages is the only way for that, first by manually selecting the message for each multiple-winning bidder, one-by-one?<br /> <br />If there IS some way of using automated filters, it'd eliminate having to manually select messages, etc. &nbsp;In this example, out of those 20 auctions, 10 of the items may be sold to different winners but the remaining winners may have won 2 or 3 items each (multiple auction winners). &nbsp;Since you never can know the specific names of the winners to filter on, how would you filter based on "like data" in order to export each winner and perform *separate* calculations for each of those corresponding winners in a single file? &nbsp;Are you saying to filter using 'Text' 'matches all as RegExp' and export to a file?<br /> <br />Maybe I'm expecting too much from the Bat? &nbsp;Or maybe I need some sleep first... <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_wink.gif" border="0" data-code=";)" data-definition="SD" alt=";)" style="width:16px;height:16px;" title="" class="bx-smile" /> <br />
			<i>24 March 2005 21:12:01, <a href="http://www.ritlabs.com/en/forums/">moz zer</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4738/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4738/</guid>
			<pubDate>Thu, 24 Mar 2005 21:12:01 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4737/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hmmm.<br /><br />Not so easy.<br /><br />You could use the filter to pump the bunch of messages out to an export file using "append" options then create a new message in a final clean up filter that can use regexp to assign values to variables <br /><br />%_var=#%regexpmatch="%include='expfile.txt'"#<br /><br />or even<br /><br />%_text=-"%include='expfile.txt'"%-<br />%setpattregexp="....."%-<br />%_var1="%regexpmatch(%_text)"%-<br /><br />and finally use %calc="%_var1*%_var2" etc to do the final summations. <br />
			<i>24 March 2005 16:05:43, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4737/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4737/</guid>
			<pubDate>Thu, 24 Mar 2005 16:05:43 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4684/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Here's the thing..<br /> <br />I've been developing some very specific eBay templates for an automation project I'm working on and I think The Bat! could fit the bill nicely. &nbsp;My goal is to eventually discuss the possibility of a reseller account for The Bat! with you guys and incorporate my templates as a package deal to end-users of eBay.<br /> <br />There were some roadblocks along the way but the main 'show-stopper' is due to the possible limitations of regexp...<br /> <br />I imagine pulling numbers out of *one* email and performing calculations is possible (how?!).. but I'd also need to extract specific text and values from *multiple* emails -- based on a filter.<br /> <br />ie. a reply template that pulls specific data from all messages with the same username in them, then calculates totals and (only if it found any data), puts it into the reply message. &nbsp;This would be an invoice for multiple eBay item winnings, but it'd also shed light on the rest of the project and determine whether The Bat! is the solution for this or not.<br /> &nbsp;<br />Marck, is regexp/MyMacros capable of doing something like this?<br /><br /> <br />
			<i>22 March 2005 17:00:30, <a href="http://www.ritlabs.com/en/forums/">moz zer</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4684/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4684/</guid>
			<pubDate>Tue, 22 Mar 2005 17:00:30 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4678/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Makes sense.. though, how would you gather a bunch of numbers from the original message and assign them to variables if you wanted to perform some calculations on them first and then display the results?<br /> <br />
			<i>22 March 2005 13:23:54, <a href="http://www.ritlabs.com/en/forums/">moz zer</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4678/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4678/</guid>
			<pubDate>Tue, 22 Mar 2005 13:23:54 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4677/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			No there is no limit. Templates are processed serially, like a program. <br />
			<i>22 March 2005 13:08:33, <a href="http://www.ritlabs.com/en/forums/">Marck Pearlstone</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4677/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4677/</guid>
			<pubDate>Tue, 22 Mar 2005 13:08:33 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4675/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Seems like this would be a pretty powerful function.. is there a maximum number of searches you can do in a message with one template?<br /> <br />
			<i>22 March 2005 12:33:58, <a href="http://www.ritlabs.com/en/forums/">moz zer</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4675/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4675/</guid>
			<pubDate>Tue, 22 Mar 2005 12:33:58 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4125/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Thank you! It works great!<br /><br /> <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_biggrin.gif" border="0" data-code=":D" data-definition="SD" alt=":D" style="width:16px;height:16px;" title="" class="bx-smile" /> &nbsp; <br />
			<i>19 February 2005 09:25:11, <a href="http://www.ritlabs.com/en/forums/">Ernest Nowak</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4125/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4125/</guid>
			<pubDate>Sat, 19 Feb 2005 09:25:11 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4120/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Try this<br /><br />%SetPattRegExp="(?is)(.*?)transport\sdo:\s(.*?)\n"%-<br />%RegExpBlindMatch="%Text"%-<br />%SubPatt="2" <br />
			<i>19 February 2005 07:38:29, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4120/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4120/</guid>
			<pubDate>Sat, 19 Feb 2005 07:38:29 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic960/message4118/">%SETPATTREGEXP...REGEXPMATCH=&quot;%TEXT&quot;    - please help</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hello!<br /><br />I have a webform which brings me e-mails that have the same layout. I am trying to make a reply template that utilises some fields from original messages. For example in text:<br />-----------------<br />transport do: Rzuchow k.Raciborza<br />wyrob: swieczka<br />-----------------<br />"transport do:" is static,<br />"Rzuchow k.Raciborza" is the text entered by the clent. I would like to utilize that text. I understand I should use something like:<br /><br />%SETPATTREGEXP="transport do:____"%REGEXPMATCH="%TEXT"<br /><br />but I have no luck with switches that should be placed in "____". Please help! <img src="http://www.ritlabs.com/bitrix/images/main/smiles/5/icon_smile.gif" border="0" data-code=":-)" data-definition="SD" alt=":-)" style="width:16px;height:16px;" title="" class="bx-smile" /><br /><br />Ernest<br /> <br />
			<i>19 February 2005 06:30:42, <a href="http://www.ritlabs.com/en/forums/">Ernest Nowak</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic960/message4118/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic960/message4118/</guid>
			<pubDate>Sat, 19 Feb 2005 06:30:42 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
