Check if the array has three consecutive numbers in sequence : <p>i have an array like below </p>

<p><code>[1,2,'b',4 ,'a','b',5,'o',7,1,3,'p',9,'p']</code></p>

<p>I want to check that if the above array has three consecutive numbers in a sequence (i.e) <code>[1,2,3]</code>.</p>

<p>From the above array i want the output as below given example</p>

<p><code>[7,1,3]</code> - > Since this sequence is occuring in a sequence without getting blocked by a alphabet.</p>
