I want to match on all the words between the |
and the end of the row (VEHICLE and all the Vechicle names). I don't want the extra lines matched
I've started with this regex but this wouldn't exclude the symbol |
:
^\|.*$
So then I tried this syntax, but it leaves off the last word on the line:
(?<=\|)(.*)(?=\|)
Samples:
Text above I don't want matched
| VEHICLE | Truck | | Bike
| VEHICLE | Car | | Scooter
| VEHICLE | Sedan | Mini Van |
| VEHICLE | Sedan | white, brown, black |
| VEHICLE | Sedan | pack/cars |
Text below that I don't want matched