#!/bin/bashs='NH:i:1NH:i:2NH:i:3NH:i:4NH:i:9NH:i:10NH:i:11NH:i:12NH:i:1002'grep -E '(^|[^0-9])([2-9]|[1-9][0-9]+)$' <<< "$s"
Standard input is empty
NH:i:2 NH:i:3 NH:i:4 NH:i:9 NH:i:10 NH:i:11 NH:i:12 NH:i:1002
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!