<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: Help with Regexp]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in Help with Regexp of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Sun, 25 Oct 2009 17:44:19 +0200</lastBuildDateTag>		<item>
			<title>Help with Regexp</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic8741/message30250/">Help with Regexp</a></b> <i>Someone can help me with Regexp?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Well, looking around the forum I was able to find a solution. The Regexp to use is:<br /><br />%SetPattRegExp="(?is)(.*?­)[EMAILLINEHERE]\s(.*?)\n"­%-<br />%RegExpBlindMatch="%Text"­%-<br />%To=''%To='%SubPatt="2"'%- <br /><br />But now, if I want to extract another part of text, let's say:<br /><br />Ordernumber: 11111<br /><br />So that I can use it in the subject line and in the text, how can I add this second search in the regexp?<br /><br />I tried just to put a second one under the first one with te E-mail, but it doesn't work. If I use just the second regexp (the one with the ordernumber) I get correctly the number. Is it possible that just one at a time works?<br /><br />Thanks<br />Igor <br />
			<i>25 October 2009 17:44:19, <a href="http://www.ritlabs.com/en/forums/">Igor Tavella</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic8741/message30250/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic8741/message30250/</guid>
			<pubDate>Sun, 25 Oct 2009 17:44:19 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>Help with Regexp</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic8741/message30247/">Help with Regexp</a></b> <i>Someone can help me with Regexp?</i> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			Hello, <br /><br />first of all I'm new with regexp's, I tried to read some tutorials, but actually I'm stuck.<br /><br />I've E-mails coming from compiled forms, what I need to do is extract from the text of the email the email that the person that compiled the form gave in. This email can be found in the text like that:<br /><br />email: myname@mydomain.com<br /><br />automatically I want that when I click Redirect on the incoming email, I just need to hit the shortcut from a quicktemplate and the email above would automatically appear in the TO: field so that I can send out the mail.<br /><br />I successfully created the quick-template. Until know I was coping and pasting this mail then manually, but I read that maybe with regexp it would be possible to do that automatically.<br /><br />Can someone help me?<br />Thank you<br />Igor <br />
			<i>25 October 2009 11:27:56, <a href="http://www.ritlabs.com/en/forums/">Igor Tavella</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic8741/message30247/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic8741/message30247/</guid>
			<pubDate>Sun, 25 Oct 2009 11:27:56 +0200</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
