Trying to find a regex that will match for 4 even or 4 odd numbers in a row in an array of numbers

后端 未结 0 1617
粉色の甜心
粉色の甜心 2020-12-20 22:06

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题