Posts Tagged with javascript string

Displaying 1-2 of 2 results.
Resolved: JavaScript replace or remove words from string using one function
posted by admin on April 23, 2016
I have string and I want to replace or remove words combination. Not one by one, not using

str = str.replace("green", "red");
str = str.replace("blue", "red")
etc...


I want something like

str.function("words combination", "red")
Read more
Resolved: JavaScript get last characters from string. Get file extension from filename
posted by admin on April 9, 2016
I have file name, like
dad a d as da a d ad as d as d.jpg

I want to get file extension , the last three letters.Read more