
12-04-2007, 09:04 PM
|
|
SEO
|
|
Join Date: Dec 2005
Location: Amarillo, Texas
Posts: 235
|
|
|
JS replace function help
Hello friends,
I want to use replace function in javascript but the client wants that a particular word should be replaced a specified number of times. For example...
In a particular page, I want to replace first 5 occurances of the word 'Telecom' to 'Telecommunications'. No matter how many times this word is used in the specified page.
Please help
|