#!/bin/bashs='www.abc.texas.commail.texas.comsubdomain.xyz.cc.texas.comwww2.texas.com'grep '^[^.]*\.texas\.com' <<< "$s"
Standard input is empty
mail.texas.com www2.texas.com
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!