I would like to know how to replace an exact word BUT with the exception of ignoring punctuation
I've see this answer which is nice but fails on the edges for me.
Here is an example to what I would like to replace:
"hi my name is John, and I am 30 yrs old."
to
"to hi my name is ted, and I am 30 yrs old."
Thanks