Folks,
I need a regex to parse the output of a command. I would like to capture the domainname that comes after "name =".
For instance, the whole string would look something like this.
name = dominname.domain.dot.com.
I need only "dominname.domain.dot.com" so that I can push that to an array and proceed further.
I tried using this "/A-Za-z\.A-Za-z\.A-Za-z\.A-Za-z\./". It did not work. Any pointers?
Thanks