I have a string like
(&(objectclass=${abc})(uid=${xyz}))
How can I search ${abc} and ${xyz} and replace with another strings. There can be any number of occurence of such substrings i.e.${abc} in main string. I was thinking of string.indexOf( but that could be messy. Any best approach?
${abc} will be replaced by another string abc. I will get them from some other parameters.
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)