InterviewSolution
Saved Bookmarks
| 1. |
How RegExp.Replace method works? |
|
Answer» The Replace method takes 2 parameters. If the search is successful then it replaces that match with the replace-string, and the new string is returned. If there are no matches then the original search-string is returned. |
|