Javascript Regex Example 1iamswain (25)in #javascript • 7 years ago find : <%- global.LANGUAGE.MENU_TEXT_ICECREAM %> change to : <%- global.LANGUAGE.MENU_TEXT_ICECREAM[global.lang] %> (<%- )(global.LANGUAGE.)(.+)(\s%>) $1$2$3[global.lang]$4 #regex #vscode