I want to recognize some regular expresion, for example "my cat", and then obtain the next´s word until a point followed or a separate point. the object is to obtain definitions from a text. for example:
A hammer is a tool that consists of a heavy piece of metal at the end of a handle. It is used, for example, to hit nails into a piece of wood or a wall, or to break things into pieces. He used a hammer and chisel to chip away at the wall.
the idea si: set hammer as my regular expresion that i want to identify and then obtain as result "is a tool that consists of a heavy piece of metal at the end of a handle."
How can I do this????