Case sensitive replace of instances of thread to ticket