<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>The House of AnimeJB &#187; Regular Expressions</title>
	<atom:link href="http://www.animejb.net/category/tips-tricks/javascript/regular-expressions/feed" rel="self" type="application/rss+xml" />
	<link>http://www.animejb.net</link>
	<description>The House of AnimeJB</description>
	<pubDate>Mon, 15 Dec 2008 18:55:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>cal@animejb.net ()</managingEditor>
		<webMaster>cal@animejb.net()</webMaster>
		<category></category>
		<ttl>1440</ttl>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>The House of AnimeJB</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>cal@animejb.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.animejb.net/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.animejb.net/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>The House of AnimeJB</title>
			<link>http://www.animejb.net</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Reg Ex for Script Tags</title>
		<link>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags</link>
		<comments>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags#comments</comments>
		<pubDate>Fri, 12 May 2006 16:09:48 +0000</pubDate>
		<dc:creator>Calophi</dc:creator>
		
		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Regular Expressions]]></category>

		<category><![CDATA[regex]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.animejb.net/2006/05/12/reg-ex-for-script-tags/</guid>
		<description><![CDATA[I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.
This one is for pulling &#60;script&#62; tags out of a string.  It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.
First up, [...]]]></description>
			<content:encoded><![CDATA[<p>I thought it might be nice to have a little archive of Javascript Regular Expressions for other people coming through.</p>
<p>This one is for pulling <code>&lt;script&gt;</code> tags out of a string.  It should match any case, account for attributes in the opening tag, and match any code including line breaks in between the tags.</p>
<p>First up, a code to jut match an opening <code>&lt;script&gt;</code> tag, because any open <code>&lt;script&gt;</code> tag can screw up a page, so you might want to take care of just that:</p>
<pre>/<[Ss]*?script(s[Ss]*?)?>/gi</pre>
<p>Next, a tag to grab a <code>&lt;script&gt;</code> tag from beginning to end, so that you can protect all the text, or replace it, or what have you.</p>
<pre>/<[Ss]*?script(s[Ss]*?)?>[Ss]*?<[Ss]*?/script(s[Ss]*?)?>/gi</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.animejb.net/2006/05/12/reg-ex-for-script-tags/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
