¡@

Home 

javascript Programming Glossary: string_to_replace

Can you create JavaScript regexes on the fly using string variables?

http://stackoverflow.com/questions/4371565/can-you-create-javascript-regexes-on-the-fly-using-string-variables

replace_foo target replacement return target.replace string_to_replace replacement I might do something like this function replace_foo.. I might do something like this function replace_foo target string_to_replace replacement return target.replace string_to_replace replacement.. target string_to_replace replacement return target.replace string_to_replace replacement With string literals this is easy enough. But what..