$replace($1-,i am a pain,ich bin in pain)
_________________________________________________

i know that i can do that but what i want to know was how i can do an identifer to see if the the word being replace by itself and reither or not to do the replace..

ex: if i type "i am in" it would replace the "i" because its by itself and not the i in "in"