View Single Post
Old 3 Sep 2019, 10:23 PM   #18
SideshowBob
Essential Contributor
 
Join Date: Jan 2017
Posts: 278
Quote:
Originally Posted by xyzzy View Post

"@linkedin\\.com$"

As a regex that will never work. That does not test for an email address local part (part before the @). So the complete regex would be

".+@(.*\\.)?linkedin\\.com$"
You need the * with :matches because you need to match the whole string. regexes match on substings unless you anchor them, hence the "$". Your ".+" makes no difference at all here.
SideshowBob is offline   Reply With Quote