<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Help a Numpty?]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Help a Numpty? of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sat, 10 Feb 2007 14:04:01 +0200</lastBuildDateTag>		<item>
			<title>Help a Numpty?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic4227/message16238/">Help a Numpty?</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Mate - you are a star.<br /><br />Got it working great...beers are on me.<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>10 February 2007 14:04:01, <a href="http://www.ritlabs.com/en/forums/">Mike Bird</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic4227/message16238/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic4227/message16238/</guid>
			<pubDate>Sat, 10 Feb 2007 14:04:01 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Help a Numpty?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic4227/message16237/">Help a Numpty?</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I merely showed how you could extravt the data you wanted.<br />You can place the %SubPatt="n" macros anywhere you like in your template.<br /><br />It can look like this:<br /><br />First Name: %SubPatt="1" <br />Last Name: %SubPatt="2" <br />Email: %SubPatt="3" <br /><br />But you can also use them in a macro like this:<br />%From='%SubPatt="1" %SubPatt="2" &lt;%SubPatt="3"&gt;'<br />So you create a message with the credentials of the entered data. In a similar way you can automatically send a receipt confirmation to the poster of the web form.<br /> <br />
			<i>10 February 2007 13:56:01, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic4227/message16237/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic4227/message16237/</guid>
			<pubDate>Sat, 10 Feb 2007 13:56:01 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Help a Numpty?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic4227/message16236/">Help a Numpty?</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Roelof many thanks for the quick response.<br /><br />Tried that out and got that working Ok.<br /><br />One more question;<br />if I run that the fields as extracted, how do I build the results i.e. %SubPatt="1" into my email forward template so that the headings remain?<br /><br />If I run it as written the resulting email looks like:-<br /><br />Bert<br />Stubbins<br />bertstubbins@bertstubbins.com <br /><br />Where as I would like it to look like:-<br /><br />First Name: Bert<br />Last Name: Stubbins<br />Email: bertstubbins@bertstubbins.com<br /><br />Sorry to be a pain, but I am quite new to this<br /><br />Regards<br /><br /><br /> <br />
			<i>10 February 2007 13:37:59, <a href="http://www.ritlabs.com/en/forums/">Mike Bird</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic4227/message16236/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic4227/message16236/</guid>
			<pubDate>Sat, 10 Feb 2007 13:37:59 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Help a Numpty?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic4227/message16232/">Help a Numpty?</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Provided that your message starts with the text you cited you could use something like this to extract the fields you're interested in:<br /><br />%SetPattRegExp="(?is)First Name: '(.*?)'\nLast Name: '(.*?)'\nEmail: '(.*)'\n(.*)"%-<br />%RegExpBlindMatch="%Text"%-<br />%SubPatt="1"<br />%SubPatt="2"<br />%SubPatt="3"<br /> <br />
			<i>10 February 2007 11:51:12, <a href="http://www.ritlabs.com/en/forums/">Roelof Otten</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic4227/message16232/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic4227/message16232/</guid>
			<pubDate>Sat, 10 Feb 2007 11:51:12 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Help a Numpty?</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic4227/message16231/">Help a Numpty?</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I receive a large number of emails generated via forms (that I am unable to edit/control)on our websites where the fields are defined like:<br /><br />First Name: 'Bert'<br />Last Name: 'Stubbins'<br />Email: 'bertstubbins@bertstubbins.com'<br />....<br />etc<br /><br />I need to forward these mails on using various filters and would like the forwarded message to have the ' around the fields removed.<br /><br />Can anybody give me some advice?<br /><br />Many thanks <br />
			<i>10 February 2007 11:21:50, <a href="http://www.ritlabs.com/en/forums/">Mike Bird</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic4227/message16231/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic4227/message16231/</guid>
			<pubDate>Sat, 10 Feb 2007 11:21:50 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
