Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 102
  • Last Modified:

how to filter email.ro:pass?

how to filter email.ro:pass?

all domains.ro:pass
thank you
0
john lambert
Asked:
john lambert
  • 2
  • 2
1 Solution
 
Rgonzo1971Commented:
Hi,
pls try
([a-zA-Z0-9._%+-]+@(?:[a-zA-Z0-9-]+\.)+ro):(.*?([A-Z].*\d.*\d|\d.*[A-Z].*\d|\d.*\d.*[A-Z]).*)

Open in new window

Regards
0
 
john lambertAuthor Commented:
So this is the test:

john@yahoo.com:lazio
john@yahoo.ro:johnny
mama@acasa.ro:cucu
miama@hotmail.com:ramas
lia@yahoo.co.uk:mamamia

I used ur code but doesn't work....output.txt is empty
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
To match:

\.ro:

Not to match:

(?!\.ro:)
0
 
john lambertAuthor Commented:
perfect, thank you, problem solved, very very nice siteeeeeeeee!!! thanks!!!!!
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
You're welcome ;)
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now