If I have a string in JavaScript like so: "test test hello test test"
I understand how to replace 'hello' with 'byebye':
replace("hello","byebye");
However, what is the most efficient method to add 'byebye' immediately after 'hello' in the string, resulting in: "test test hello byebye test test", utilizing regex?
Thank you.