@arnelgp - thanks for the code.
I do not believe the validation is working correctly. I am running the function on field in a table using BetweenWords([FieldName], "type", "-"). Here are two examples.
Original string -> BetweenWords Result
L6 - 9.3L 570ci DIESEL DI...