Consider the following input:
"Wellbeing" ralph@gmail.com (+1)234-345-3434534
"7 Habits" john@gmailcom (+1)555-053-1234a67
"GTD" victor@.co.il 02-765432
"Some denis@yahoo.ca 09-234234Z3
"Jewish history" Josh.gmail.com "(+999)1-1223321"
I am trying the following regular expression in Notepad++: \s+.*@(gmail|yahoo)
Why does this expression not match the spaces followed by denis@yahoo in line 4? (It works if I put \w instead of .)
>Solution :
Must be a you problem – for me it matches the spaces (and some more stuff) before denis:
Notepad v8.2.1 – [x] Wrap around on or off makes no difference because that just applies if you started say in line 3 to search and then after showing the last below that it would wrap around to the start of the file and show all other matches before line 3.
