I have a data set thats of the format
ID Content
1 2020-01-01 Car1 Technician1 Inspected parts
2 2020-01-01 Car2 Technician1 Inspected wipers
3 2020-05-01 Car5 Technician2 Fixed wipers
I want to clean this up such that each time I encounter Technician
I am removing the preceding 15
characters.
So my result would look like
ID Content
1 1 Inspected parts
2 1 Inspected wipers
3 2 Fixed wipers
I am trying some wild card
matching but have not been successful yet.
Any thoughts?