<?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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>aaron vanderzwan &#187; copy</title>
	<atom:link href="http://www.aaronvanderzwan.com/blog/tag/copy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aaronvanderzwan.com/blog</link>
	<description>Smile... It&#039;ll make you feel better.</description>
	<lastBuildDate>Tue, 31 Jan 2012 21:47:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>jQuery: RegExp for all occurances; Wrap all &#169; and &#174; with HTML</title>
		<link>http://www.aaronvanderzwan.com/blog/2010/03/jquery-regexp-for-all-occurances-treat-all-and-with-specific-css/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=jquery-regexp-for-all-occurances-treat-all-and-with-specific-css</link>
		<comments>http://www.aaronvanderzwan.com/blog/2010/03/jquery-regexp-for-all-occurances-treat-all-and-with-specific-css/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 20:33:45 +0000</pubDate>
		<dc:creator>Aaron Vanderzwan</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Hints / Tips]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[copy]]></category>
		<category><![CDATA[reg]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://www.aaronvanderzwan.com/blog/?p=246</guid>
		<description><![CDATA[This script will find all &#169; and &#174; on a page and wrap them a span around them with a &#8220;copy&#8221; or &#8220;reg&#8221; class accordingly. &#60;style> .copy, .reg {font-size:xx-small;vertical-align:text-top;} &#60;/style> &#60;script> $(function(){ var copy = new RegExp(&#8216;\u00a9&#8242;,&#8217;g'); var reg = new RegExp(&#8216;\u00ae&#8217;,'g&#8217;); var newBody = $(&#8216;body&#8217;).html().replace(copy, &#8216;&#60;span class=&#8221;copy&#8221;>&#38;copy;&#60;/span>&#8217;).replace(reg, &#8216;&#60;span class=&#8221;reg&#8221;>&#38;reg;&#60;/span>&#8217;); $(&#8216;body&#8217;).html(newBody); }); &#60;/script>]]></description>
			<content:encoded><![CDATA[<p>This script will find all &copy; and &reg; on a page and wrap them a span around them with a &#8220;copy&#8221; or &#8220;reg&#8221; class accordingly.</p>
<blockquote class="code"><p>&lt;style><br />
			.copy, .reg {font-size:xx-small;vertical-align:text-top;}<br />
		&lt;/style></p>
<p>		&lt;script><br />
			$(function(){<br />
				var copy = new RegExp(&#8216;\u00a9&#8242;,&#8217;g');<br />
				var reg = new RegExp(&#8216;\u00ae&#8217;,'g&#8217;);<br />
		   	var newBody = $(&#8216;body&#8217;).html().replace(copy, &#8216;&lt;span class=&#8221;copy&#8221;>&amp;copy;&lt;/span>&#8217;).replace(reg, &#8216;&lt;span class=&#8221;reg&#8221;>&amp;reg;&lt;/span>&#8217;);<br />
		   	$(&#8216;body&#8217;).html(newBody);<br />
			});<br />
		&lt;/script></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.aaronvanderzwan.com/blog/2010/03/jquery-regexp-for-all-occurances-treat-all-and-with-specific-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

