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.

Devon Bessemer
  • 34,461
  • 9
  • 69
  • 95
Ali
  • 5,021
  • 4
  • 26
  • 45
  • 1
    possible duplicate of [Validate email address in JavaScript?](http://stackoverflow.com/questions/46155/validate-email-address-in-javascript) – Toto Nov 08 '13 at 08:17

1 Answers1

4

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.

Devon Bessemer
  • 34,461
  • 9
  • 69
  • 95