0

I need to update all the email addresses in my PHP/Codeigniter project placed in www folder. Can anybody tell me how should i get all type of emails by using Notepad++ or PhpStorm editors? I know this can be done by using regular expression, but i am unable to figure out exact regular expression for this purpose.

4

1 回答 1

3

In PHPStorm, you can right click on a folder in the navigation window and click Replace in Path

Regex: [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6} should match all email addresses.

于 2013-11-08T07:00:04.680 回答