<?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>jquery-replace-dot-period &#8211; Extreme Web Designs</title>
	<atom:link href="https://theextremewebdesigns.com/blog/tag/jquery-replace-dot-period/feed/" rel="self" type="application/rss+xml" />
	<link>https://theextremewebdesigns.com/blog</link>
	<description>Web Design and Web Development</description>
	<lastBuildDate>Sat, 14 Jul 2012 14:23:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.5</generator>
<site xmlns="com-wordpress:feed-additions:1">156673191</site>	<item>
		<title>jQuery Replace Dot Or Period Examples</title>
		<link>https://theextremewebdesigns.com/blog/jquery-replace-dot-replace-dot-or-period-using-jquery/</link>
					<comments>https://theextremewebdesigns.com/blog/jquery-replace-dot-replace-dot-or-period-using-jquery/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Sat, 14 Jul 2012 14:23:40 +0000</pubDate>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[jquery-replace-dot-period]]></category>
		<category><![CDATA[jquery-tips]]></category>
		<guid isPermaLink="false">https://theextremewebdesigns.com/blog/?p=1043</guid>

					<description><![CDATA[Ever wanted to replace Dot or Period using jQuery? In this article, I am going to show you how to easily replace a dot or a period with any other character using jQuery. Examples on using jQuery to Replace Dot Let&#8217;s assume that you have a div with ID &#8220;my_div&#8221; and you would like the [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Ever wanted to replace Dot or Period using jQuery? In this article, I am going to show you how to easily <em><strong>replace a dot or a period with any other character using jQuery</strong></em>.<span id="more-1043"></span></p>
<h2>Examples on using jQuery to Replace Dot</h2>
<p>Let&#8217;s assume that you have a div with ID &#8220;my_div&#8221; and you would like the <strong><em>dot to be replaced by another character using jQuery</em></strong> and assign the new text back to the same div. Here&#8217;s how you can do it.</p>
<h3>Example 1: Replace all Dots / Periods in a Div with Space using jQuery:</h3>
<pre class="lang:js decode:true">$(document).ready(function() {
var str = $("#my_div").html().replace(/\./g, ' ');
$("#my_div").html(str);
});</pre>
<h3>Example 2: Replace all Dots / Periods in a Div with Dash using jQuery:</h3>
<pre class="lang:js decode:true">$(document).ready(function() {
var str = $("#my_div").html().replace(/\./g, '-');
$("#my_div").html(str);
});</pre>
<h3>Example 3: Replace all Dots / Periods in a Div with multiple dashes using jQuery:</h3>
<pre class="lang:js decode:true">$(document).ready(function() {
var str = $("#my_div").html().replace(/\./g, '---');
$("#my_div").html(str);
});</pre>
<h3>Example 4: Remove all Dots / Periods in a Div using jQuery:</h3>
<pre class="lang:js decode:true">$(document).ready(function() {
var str = $("#my_div").html().replace(/\./g, '');
$("#my_div").html(str);
});</pre>
<h3>Example 5: Remove all Dots / Periods in the entire body of the HTML page using jQuery:</h3>
<pre class="lang:js decode:true">$(document).ready(function() {
var str = $("body").html().replace(/\./g, '');
$("body").html(str);
});</pre>
<h5>That&#8217;s it!</h5>
<p>Do you know of any other ways to <em><strong>use jQuery to replace dot / period</strong></em>? Feel free to suggest by commenting below.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://theextremewebdesigns.com/blog/jquery-replace-dot-replace-dot-or-period-using-jquery/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1043</post-id>	</item>
	</channel>
</rss>
