Is there a way to change "me" to "you", except for when "me" is part of another word? For example, changing "awesome melon me" to "awesome melon you".
I've started using the negative look ahead pattern:
str.replace(/me(?![a-zA-Z])/g, 'you')
This results in:
"awesome melon me" -> "awesoyou melon you"
I have looked into different solutions on Stack Overflow, but haven't found one that fits my specific needs. Thank you in advance for any assistance!