<?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>Blog Hoc Tap &#187; regex</title>
	<atom:link href="http://bloghoctap.com/tag/regex/feed" rel="self" type="application/rss+xml" />
	<link>http://bloghoctap.com</link>
	<description>Web Developer, Graphic Designer &#38; Trainer</description>
	<lastBuildDate>Sun, 29 Aug 2010 16:15:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Vấn đề hàm String.replace() của javascript chỉ replace một lần mà thôi.</title>
		<link>http://bloghoctap.com/lap-trinh-javascript/van-de-ham-string-replace-cua-javascript-chi-replace-mot-lan-ma-thoi.html</link>
		<comments>http://bloghoctap.com/lap-trinh-javascript/van-de-ham-string-replace-cua-javascript-chi-replace-mot-lan-ma-thoi.html#comments</comments>
		<pubDate>Wed, 01 Oct 2008 06:56:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://bloghoctap.com/?p=27</guid>
		<description><![CDATA[Tình cờ phát hiện hàm String.replace() của javascript chỉ replace lần xuất hiện đầu tiên mà thôi. Ví dụ:

?Download Download.txt1
2
3
var myString = 'my blog of my friend here';
&#160;
alert&#40;myString.replace&#40;'my', 'his'&#41;&#41;; //output : &#34;his blog of my friend here&#34; . Not &#34;his blog of his friend here&#34;.

xem ví dụ cũng đã hiểu, phrase &#8220;my&#8221; chỉ bị thay [...]


Related posts:<ol><li><a href='http://bloghoctap.com/web-design/javascript-va-nhung-dieu-can-biet.html' rel='bookmark' title='Permanent Link: Javascript và những điều cần biết'>Javascript và những điều cần biết</a></li>
</ol>]]></description>
		<wfw:commentRss>http://bloghoctap.com/lap-trinh-javascript/van-de-ham-string-replace-cua-javascript-chi-replace-mot-lan-ma-thoi.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
