No-Library (pure JS), HTML, CSS, JavaScript
regEx to fetch the array from a multi line text and validate the array with a list of predefined values.