perl -le '"2345654321" =~ /(0?1?2?3?4?5?6?7?8?9?)/ and print $1' [download]
snicker :)
In reply to Re: Regex to match ascending sequence by Anonymous Monk in thread Regex to match ascending sequence by ExReg