I am novice to regular expressions. I am trying to remove emails from a list which do not belong to a specific domain.
for e.g. I have a below list of emails:
John@yahoo.co.in , Jacob@gmail.com, Bob@rediff.com,
Lisa@abc.com, sam@gmail.com , rita@yahoo.com
I need to get only the gmail ids:
Jacob@gmail.com, sam@gmail.com
Please note we may have spaces before the comma delimiters. Appreciate any help!