<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for "Regular</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this tag.</description>
		<pubDate>Wed, 09 Jul 2008 00:23:23 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>URL Regular Expression</title>
	<link>http://www.bytemycode.com/snippets/snippet/796/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/796/comments/</comments>
	<pubDate>Thu, 28 Feb 2008 16:10:58 +0000</pubDate>
	<dc:creator>inxilpro</dc:creator>
	<category>"Regular, Expression", regex, RegExp</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/796/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Feb. 28th, 2008  4:10 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/796/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/inxilpro/" title="Helper">inxilpro</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22Regular">"Regular</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Expression%22">Expression"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/regex">regex</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/RegExp">RegExp</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/796/comments/">1 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 2
			<p>This is as close to a perfect URL regular expression as I've come.  It's based on <a href='http://www.ietf.org/rfc/rfc3986.txt' target="_blank">RFC 3986</a>.<br /><br /><b>A few caveats:</b><br /><br />It only accepts http/https/ftp URLs by design, but you could change that to accept any valid URI pretty easily.<br /><br />It doesn't support IP-based URLs or authenticated URLs.  This is also by design, but you could change that with a little work.</p>
		]]>
	</description>
</item><item>
	<title>RegExp.anyOneOf()</title>
	<link>http://www.bytemycode.com/snippets/snippet/239/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/239/comments/</comments>
	<pubDate>Mon, 24 Jul 2006 21:54:28 +0000</pubDate>
	<dc:creator>svachon</dc:creator>
	<category>"Regular, Expression", JavaScript, RegExp, String</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/239/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Mon. Jul. 24th, 2006  9:54 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/239/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/svachon/" title="Helper">svachon</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/%22Regular">"Regular</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Expression%22">Expression"</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/JavaScript">JavaScript</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/RegExp">RegExp</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/String">String</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/239/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 8
			<p>Gets a regular expression that'll search for any regexp pattern specified in the parameters.</p>
		]]>
	</description>
</item>
	</channel>
</rss>