Small refactor to utilize Regular Expressions to get custom delimiter
Passed test throwing exception
Added failing test for message in the exception