I will explain what I wanna do.
If I have a text like "go there Jack" and I wanna automate rewriting it as "Jack went there".
Let's imagine it's a lengthy text over thousands of lines and has a fixed format over time like "go there Jonh", "go there Joe", "go there Smith".. etc (these are just imaginary examples but the text is not much different).
So i wanna ask is there a tool or a programming language library to automate such task ?
NB: " i have heard about text filters in linux but google didn't help me"