regex code how to filter this sql email combo

insert into `yahoo`.`users`(`id`,`email`,`password`) values (1,'','emily');

Open in new window

john lambertAsked:
Who is Participating?
Dan CraciunIT ConsultantCommented:
You should simply make the inserts in a temp table and then select the email and password.

If you insist on regex:
insert into `yahoo`\.`users`\(`id`,`email`,`password`\) values \([0-9]+,'([^)]+)'

The result will be in group 1.

john lambertAuthor Commented:
i test it and works perfect thank you...
Dan CraciunIT ConsultantCommented:
You're welcome!

Glad I could help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.