<?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0" 
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>Regular Expressions (RegEx) Mailing List RSS Feed</title> 
<link>http://www.houseoffusion.com/groups/regex</link> 
<description>Regular Expressions mailing list and forums. The focus here is on the language, not on a particular implementation.</description> 
<language>en-us</language> 
<copyright>Copyright 2010, House of Fusion</copyright> 
<lastBuildDate>Sat, 20 Mar 2010 10:34:05 GMT</lastBuildDate> 
<webMaster>Michael Dinowitz (mdinowit@houseoffusion.com)</webMaster> 
<category>Mailing List</category>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>

<item>
	<title><![CDATA[RegEx for range]]></title> 
	<description><![CDATA[{1,9}, right?&nbsp;&nbsp;I think that's what your asking.&nbsp;&nbsp;{2,} means two or<br>
	more, {,3} means three or less, and {2,3} means both two or more and<br>
	three or less (i.e., 2-3).<br>
	<br>
	cheers,<br>
	barneyb<br>
	<br>
	On Sun, Feb 14, 2010 at 6:04 PM, Ria&nbsp;&nbsp;Ragam &lt;Ragam0312@gmail.com&gt; <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1237"  title="Regular Expressions (RegEx): RegEx for range">more</A>]]]></description> 
	<pubDate>Sun, 14 Feb 2010 11:15:00 GMT</pubDate> 
	<dc:author>Barney Boisvert </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1237</guid> 
</item>

<item>
	<title><![CDATA[RegEx for range]]></title> 
	<description><![CDATA[Hi All,<br>
	<br>
	I am trying to write a regEX for numbers which should only test for range {1-9} and not&nbsp;&nbsp;for range {10,}<br>
	It should only check for 1 to 999999999 and not 1111111111 or more(means should accept them).<br>
	for range more than 10 or more we use {10<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1236"  title="Regular Expressions (RegEx): RegEx for range">more</A>]]]></description> 
	<pubDate>Sun, 14 Feb 2010 09:12:00 GMT</pubDate> 
	<dc:author>Ria  Ragam </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1236</guid> 
</item>

<item>
	<title><![CDATA[Count word in one line and &lt;enter&gt;]]></title> 
	<description><![CDATA[Ok, the main regex that will do this is:<br>
	<br>
	(?m-s)^.*?(?:WordToCheck).*$<br>
	<br>
	Except CF8 doesn't support the '-s' flag, to prevent '.' matching<br>
	newlines, so instead I had to do:<br>
	<br>
	(?m)^.*?(?:WordToCheck)[^\n]*$<br>
	<br>
	And here's the full code example/test<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1235"  title="Regular Expressions (RegEx): Count word in one line and &lt;enter&gt;">more</A>]]]></description> 
	<pubDate>Wed, 08 Jul 2009 01:33:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1235</guid> 
</item>



<item>
	<title><![CDATA[The Flex Authority Volume 1, Issue 2 is out now]]></title> 
	<description><![CDATA[If you want your Flex skills to be up-to-date then you need the Flex Authority. The current issue is all about Components: The Building Blocks of Your Applications.
	
	Order now]]></description> 
	<guid>http://www.flex-authority.com/issues/components-application-building-blocks/</guid>
	<pubDate>Sat, 20 Mar 2010 10:34:05 GMT</pubDate> 
	<dc:author>Flex Authority</dc:author> 
</item>

<item>
	<title><![CDATA[Count word in one line and &lt;enter&gt;]]></title> 
	<description><![CDATA[The text contains 5 lines.. Sorry the the typing error.<br>
	<br>
	&gt; Thank you for replying, actually, I want to count how many line has <br>
	&gt; that word. It does not a problem if the word is repeated or not as <br>
	&gt; long as the word is found in the line. <br>
	&gt; <br>
	&gt; For <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1234"  title="Regular Expressions (RegEx): Count word in one line and &lt;enter&gt;">more</A>]]]></description> 
	<pubDate>Wed, 08 Jul 2009 10:08:00 GMT</pubDate> 
	<dc:author>Badrul Anuar </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1234</guid> 
</item>

<item>
	<title><![CDATA[Count word in one line and &lt;enter&gt;]]></title> 
	<description><![CDATA[Thank you for replying, actually, I want to count how many line has that word. It does not a problem if the word is repeated or not as long as the word is found in the line. <br>
	<br>
	For another example.<br>
	<br>
	I have a 5 lines of sentences.<br>
	&lt;text&gt;<br>
	I have a <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1233"  title="Regular Expressions (RegEx): Count word in one line and &lt;enter&gt;">more</A>]]]></description> 
	<pubDate>Wed, 08 Jul 2009 10:06:00 GMT</pubDate> 
	<dc:author>Badrul Anuar </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1233</guid> 
</item>

<item>
	<title><![CDATA[Count word in one line and &lt;enter&gt;]]></title> 
	<description><![CDATA[Huh? You seem to be asking two questions?<br>
	<br>
	Do you want the number of words in the text (12), or the number of<br>
	non-empty lines (2)?<br>
	<br>
	With the behaviour of CF's List functions to ignore empty elements,<br>
	you don't need regex, you can simply do:<br>
	<br>
	<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1232"  title="Regular Expressions (RegEx): Count word in one line and &lt;enter&gt;">more</A>]]]></description> 
	<pubDate>Wed, 08 Jul 2009 08:42:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1232</guid> 
</item>

<item>
	<title><![CDATA[Count word in one line and &lt;enter&gt;]]></title> 
	<description><![CDATA[Hi.<br>
	<br>
	I have a simple question. I would like to count how many word in a single line.<br>
	<br>
	For example<br>
	<br>
	&lt;text&gt;<br>
	I have an apple. The apple is green.<br>
	<br>
	I have an apple.<br>
	&lt;/text&gt;<br>
	<br>
	Let's say that if I use a simple regex. (apple), I will receive 3 match. <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1231"  title="Regular Expressions (RegEx): Count word in one line and &lt;enter&gt;">more</A>]]]></description> 
	<pubDate>Wed, 08 Jul 2009 07:30:00 GMT</pubDate> 
	<dc:author>Badrul Anuar </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1231</guid> 
</item>

<item>
	<title><![CDATA[regex for twitter style URL]]></title> 
	<description><![CDATA[Try this:<br>
	^(?!user|index\.cfm)([\w-]+)$<br>
	<br>
	Note that this allows only usernames containing alphanumeric,<br>
	underscore, and/or hyphen.<br>
	<br>
	If usernames allow more characters, or you want to defer validation to<br>
	the script, you could use something more <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1230"  title="Regular Expressions (RegEx): regex for twitter style URL">more</A>]]]></description> 
	<pubDate>Sat, 04 Jul 2009 10:35:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1230</guid> 
</item>

<item>
	<title><![CDATA[regex for twitter style URL]]></title> 
	<description><![CDATA[Hi<br>
	<br>
	I am trying to do a mod_rewrite for twitter style username urls<br>
	<br>
	to <br>
	<A HREF="http://myurl.com/andyjarrett">http://myurl.com/andyjarrett</A><br>
	would go to<br>
	<br>
	<A HREF="http://myurl.com/index.cfm?user=andyjarrett">http://myurl.com/index.cfm?user=andyjarrett</A><br>
	<br>
	So far I have <br>
	<br>
	RewriteRule ^(((?!user|index.cfm))*.?)*$ index.cfm?user=$1 [L,QSA<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1229"  title="Regular Expressions (RegEx): regex for twitter style URL">more</A>]]]></description> 
	<pubDate>Sat, 04 Jul 2009 10:10:00 GMT</pubDate> 
	<dc:author>Andy Jarrett </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1229</guid> 
</item>

<item>
	<title><![CDATA[Compare Expressions]]></title> 
	<description><![CDATA[Yes.. you are right .. thanx...<br>
	&gt;First I would replace any comma by a dot, then remove any $ and use the <br>
	&gt;val function, ie:<br>
	&gt;value = val(replace(replace(value<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1228"  title="Regular Expressions (RegEx): Compare Expressions">more</A>]]]></description> 
	<pubDate>Thu, 07 May 2009 01:44:00 GMT</pubDate> 
	<dc:author>Priya Koya </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1228</guid> 
</item>

<item>
	<title><![CDATA[Compare Expressions]]></title> 
	<description><![CDATA[First I would replace any comma by a dot, then remove any $ and use the <br>
	val function, ie:<br>
	value = val(replace(replace(value<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1227"  title="Regular Expressions (RegEx): Compare Expressions">more</A>]]]></description> 
	<pubDate>Thu, 07 May 2009 12:50:00 GMT</pubDate> 
	<dc:author>Claude Schneegans </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1227</guid> 
</item>

<item>
	<title><![CDATA[Compare Expressions]]></title> 
	<description><![CDATA[Hi All,<br>
	<br>
	I am trying to validate the textfields and compare the amount with other.<br>
	I have some value say Value1: 100.00 and the textfield value can be anything say Value2: $ 100.00 or $ 100,00 or 100.0000 or just 100 (or more than or equal to Value1 <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1226"  title="Regular Expressions (RegEx): Compare Expressions">more</A>]]]></description> 
	<pubDate>Thu, 07 May 2009 12:42:00 GMT</pubDate> 
	<dc:author>Priya Koya </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1226</guid> 
</item>

<item>
	<title><![CDATA[How to clean a phone number with regex ]]></title> 
	<description><![CDATA[&gt; I am very new to regex and I basically need to clean a phone number. I need all numbers entered to look like 5555555555. I am using REReplace(foo.foo, &quot;[^0-9]&quot;, &quot;&quot;, &quot;ALL&quot;) and it is cleaning 555-555-5555 but not (555)444 4444.<br>
	<br>
	There's no reason that <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1225"  title="Regular Expressions (RegEx): How to clean a phone number with regex.">more</A>]]]></description> 
	<pubDate>Thu, 26 Feb 2009 02:40:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1225</guid> 
</item>

<item>
	<title><![CDATA[How to clean a phone number with regex ]]></title> 
	<description><![CDATA[I am very new to regex and I basically need to clean a phone number. I need all numbers entered to look like 5555555555. I am using REReplace(foo.foo, &quot;[^0-9]&quot;, &quot;&quot;, &quot;ALL&quot;) and it is cleaning 555-555-5555 but not (555)444 4444.<br>
	<br>
	Any help would be greatly<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1224"  title="Regular Expressions (RegEx): How to clean a phone number with regex.">more</A>]]]></description> 
	<pubDate>Wed, 25 Feb 2009 03:45:00 GMT</pubDate> 
	<dc:author>Michael Grove </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1224</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[Hmmm, I've just re-read what you're trying to do, and I've actually<br>
	answered a different question - sorry! :S<br>
	<br>
	I don't have much time right now, but as a quick thought, give this a go:<br>
	<br>
	&lt;cfset Data = query.textBody.split( '(?i)\s+(?=_+|(From|Sent|To|<BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1223"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Wed, 11 Feb 2009 05:40:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1223</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[Hi Peter,<br>
	<br>
	Thanks very much for your reply.<br>
	Couple of questions. I'll be using CFPOP to retrieve the mail. I guess that would mean that I could use query.textBody to do the parsing in and that would be the &quot;clean&quot; data to rematch?<br>
	<br>
	Can you tell me <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1222"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Wed, 11 Feb 2009 08:40:00 GMT</pubDate> 
	<dc:author>Bart Buijze </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1222</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[I'm not 100% certain what you're asking, but I have attempted to<br>
	provide what I think you want...<br>
	<br>
	Assuming EmailData contains a full email source, you can try using the<br>
	following code.<br>
	(I've commented all my comments, so you can simply copy &amp; <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1221"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Fri, 06 Feb 2009 05:05:00 GMT</pubDate> 
	<dc:author>Peter Boughton </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1221</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[&gt; &gt; Hi!<br>
	&gt; &gt; <br>
	&gt; &gt; I'm working on an application in which I would like to administer <br>
	&gt; some <br>
	&gt; &gt; mailmessages that I received locally in Outlook. The first step I <br>
	&gt; &gt; foresee is forwarding the message to a mail-account which is polled <br>
	&gt; by <br>
	&gt; &gt; <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1220"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Fri, 06 Feb 2009 02:35:00 GMT</pubDate> 
	<dc:author>Bart Buijze </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1220</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[&gt; Hi!<br>
	&gt; <br>
	&gt; I'm working on an application in which I would like to administer some <br>
	&gt; mailmessages that I received locally in Outlook. The first step I <br>
	&gt; foresee is forwarding the message to a mail-account which is polled by <br>
	&gt; the application. In <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1219"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Thu, 05 Feb 2009 02:40:00 GMT</pubDate> 
	<dc:author>Bart Buijze </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1219</guid> 
</item>

<item>
	<title><![CDATA[Finding name and email in forwarded mailmessage]]></title> 
	<description><![CDATA[Hi!<br>
	<br>
	I'm working on an application in which I would like to administer some mailmessages that I received locally in Outlook. The first step I foresee is forwarding the message to a mail-account which is polled by the application. In the application I <BR> [<A href="http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1218"  title="Regular Expressions (RegEx): Finding name and email in forwarded mailmessage">more</A>]]]></description> 
	<pubDate>Thu, 05 Feb 2009 04:25:00 GMT</pubDate> 
	<dc:author>Bart Buijze </dc:author> 
	<guid>http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1218</guid> 
</item>

<item>
	<title><![CDATA[The Fusion Authority Quarterly Update Volume 3, Issue 1 is out now]]></title> 
	<description><![CDATA[If you want your ColdFusion skills to be up-to-date then you need the Fusion Authority Quarterly Update. The current issue is all about Data and how to make it work for you. Just what we all need.
	
	Order now]]></description> 
	<guid>http://www.fusionauthority.com/quarterly/data-how-to-make-it-work-for-you/</guid>
	<pubDate>Sat, 20 Mar 2010 10:34:05 GMT</pubDate> 
	<dc:author>Fusion Authority</dc:author> 
</item>


</channel>
</rss>

