User:Euphoria/नेपालीकरण.js: Difference between revisions

From Test Wiki
no edit summary
No edit summary
No edit summary
Line 18: Line 18:


   x = x.replace(/\bcat\b/g, 'dog');
   x = x.replace(/\bcat\b/g, 'dog');
   x = x.replace(/\bशहर\b/g, 'सहर');
   x = x.replace(/(?:\P{Xwd}|\A)शहर(?:\P{Xwd}|\Z)/g, 'सहर');


$('#wpTextbox1').val(x);
$('#wpTextbox1').val(x);
152

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.