Javascript – Use a variable to swap out a dynamic name using regex
Hi there and thank you for your help in advance. I'm looking for some help with using a variable to dynamically replace a name in some text. I'm really stuck with this and would appreciate any help. So far i've…