#!/bin/bashs='C line 1c line 2B line 3d line 4E line five' grep '^[A-Z].*[0-9]$' <<< "$s"
Standard input is empty
C line 1 B line 3
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!