<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[සිංහල යුනිකෝඩ් characters තියෙන slug එකක් හදාගන්නේ කොහොමද?]]></title><description><![CDATA[<p dir="auto">article title එක සිංහල වලින් තිබුණම ඒක slug එකට convert වෙද්දීං සිංහල characters ඔක්කොම replace වෙනවා</p>
<p dir="auto"><a href="https://gist.github.com/mathewbyrne/1280286" target="_blank" rel="noopener noreferrer nofollow ugc">https://gist.github.com/mathewbyrne/1280286</a></p>
<p dir="auto">Advance Regular Expression ගැන දැනීමක් නෑ 🙊</p>
]]></description><link>https://lankadevelopers.lk/topic/869/ස-හල-ය-න-ක-ඩ-characters-ත-ය-න-slug-එකක-හද-ගන-න-ක-හ-මද</link><generator>RSS for Node</generator><lastBuildDate>Wed, 12 Aug 2026 02:34:34 GMT</lastBuildDate><atom:link href="https://lankadevelopers.lk/topic/869.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 24 Oct 2021 09:57:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to සිංහල යුනිකෝඩ් characters තියෙන slug එකක් හදාගන්නේ කොහොමද? on Wed, 27 Oct 2021 09:23:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://lankadevelopers.lk/uid/1049">@kasun-viduranga</a> 😯 Thank you thank you 🤝</p>
]]></description><link>https://lankadevelopers.lk/post/4604</link><guid isPermaLink="true">https://lankadevelopers.lk/post/4604</guid><dc:creator><![CDATA[ushanmithma]]></dc:creator><pubDate>Wed, 27 Oct 2021 09:23:24 GMT</pubDate></item><item><title><![CDATA[Reply to සිංහල යුනිකෝඩ් characters තියෙන slug එකක් හදාගන්නේ කොහොමද? on Tue, 26 Oct 2021 06:27:19 GMT]]></title><description><![CDATA[<p dir="auto">මේක PHP වලින් හදපු එකක් බලලා පුළුවන්නම් idea එකක් ගන්න. මගේ වැඩේටනම් හරි ගියා<br />
&lt;?php<br />
//friendly URL conversion<br />
function to_prety_url($string){</p>
<pre><code>$string = str_replace("\\", '-', $string);
$string = str_replace("~", '-', $string);
$string = preg_replace('/[\s-]+/', '-', $string);
$string = str_replace('/', '-', $string);
$string = preg_replace("/[\s-]+/", " ", $string);
$string = preg_replace("/[\s_]/", "-", $string);
$string = preg_replace('/\s+/', '-', $string);
$string = preg_replace('/-+/', '-', $string);
</code></pre>
<p dir="auto">return $string;<br />
}<br />
?&gt;</p>
]]></description><link>https://lankadevelopers.lk/post/4602</link><guid isPermaLink="true">https://lankadevelopers.lk/post/4602</guid><dc:creator><![CDATA[kasun viduranga]]></dc:creator><pubDate>Tue, 26 Oct 2021 06:27:19 GMT</pubDate></item></channel></rss>