Just to be clear, what you're wanting is that if the first word of what you type is someone's nick followed by a colon, you want the colon removed, and a chevron symbol added between the nick and the text message?

If you type in a different upper/lower case than the actual nick, does that need to be corrected, or should that cause this substitution to be ignored?

Or am I completely mis-understanding what you want?