<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title>www.ritlabs.com [Topic: How to extract an address from a To: list]</title>
		<link>http://www.ritlabs.com</link>
		<description>New posts in How to extract an address from a To: list of  forum at www.ritlabs.com [www.ritlabs.com]</description>
		<language>en</language>
		<docs>http://backend.userland.com/rss2</docs>
		<lastBuildDateTag>Tue, 03 Oct 2017 18:12:33 +0300</lastBuildDateTag>		<item>
			<title>How to extract an address from a To: list</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic13158/message44833/">How to extract an address from a To: list</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I think I've worked something out, but am now having trouble with subpatterns.<br /><br />(?i)\s*(&#91;^,;&#93;*@fred\.com&#91;^,&#93;*)&#91;,;$&#93;? &nbsp;picks up everything between the address delimiters which as far as I can see should be comma or semi-colons and does case-insensitive matching.<br /><br />But when I try to pick up the address part (the subpattern between the brackets) %SUBPATT=&quot;1&quot; gives me a blank string. Using a regex tester it works OK, so the problem is obviously in my understanding of The Bat's contorted macro syntax. Any ideas? My brain hurts. <br />
			<i>03 October 2017 18:12:33, <a href="http://www.ritlabs.com/en/forums/">Peter Toye</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic13158/message44833/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic13158/message44833/</guid>
			<pubDate>Tue, 03 Oct 2017 18:12:33 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>How to extract an address from a To: list</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic13158/message44829/">How to extract an address from a To: list</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			It may take some trial and error, but I think regex might do it if you set a limit on how many characters might precede the @ and know what delimiter might separate email ids. Regex has a few operands for unknown characters, so I'd give it a try. &nbsp;I've used regex on onccasion, but I'm no guru. Good luck. And the suggestion may be useless, but it would be my first approach. david <br />
			<i>30 September 2017 22:26:38, <a href="http://www.ritlabs.com/en/forums/">david kirk</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic13158/message44829/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic13158/message44829/</guid>
			<pubDate>Sat, 30 Sep 2017 22:26:38 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
		<item>
			<title>How to extract an address from a To: list</title>
			<description><![CDATA[<b><a href="http://www.ritlabs.com/en/forums/forum6/topic13158/message44813/">How to extract an address from a To: list</a></b> in forum <a href="http://www.ritlabs.com/en/forums/forum6/">The Bat! - Templates and Macros</a>. <br />
			I want to extract an address (if it occurs) fr om a To: list. For example, if &quot;<noindex><a href="mailto:XXX@fred.com" target="_blank" rel="nofollow">XXX@fred.com</a></noindex>&quot; occurs, I want to extract it. I can use a regex to see if &quot;@fred.com&quot; is there, but than, how do I find the &quot;XXX&quot;, given that I have no idea wh ere the address occurs in the list, and I can't see any looping macro to move down the list one address at a time.<br /><br />Anyone here got any ideas or hints? <br />
			<i>28 September 2017 11:55:29, <a href="http://www.ritlabs.com/en/forums/">Peter Toye</a>.</i>]]></description>
			<link>http://www.ritlabs.com/en/forums/forum6/topic13158/message44813/</link>
			<guid>http://www.ritlabs.com/en/forums/forum6/topic13158/message44813/</guid>
			<pubDate>Thu, 28 Sep 2017 11:55:29 +0300</pubDate>
			<category>The Bat! - Templates and Macros</category>
		</item>
	</channel>
</rss>
