Given an array of numbers such as [1, 2, 4, 6, 8, 10, 15] I\'m trying to find a regex that will let me know how many times a group of 4 even or odd numbers show
[1, 2, 4, 6, 8, 10, 15]