#!/bin/bashEmail=me@example.comif [[ "$Email" =~ [a-z]+@[a-z]{2,}\.(com|net|org) ]]then echo "Valid email!"fi
Standard input is empty
Valid email!
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!