Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Regex in PreProcessor

HarishG
Regular Contributor
Regular Contributor

Hi,

Can we use regex in PreProcessor to check the one of the column in the User import?

Requirement is to validate if the email following Regular Expression(^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,6}$). If not user should be skipped.

 

Thanks,

Harish

1 REPLY 1

rushikeshvartak
All-Star
All-Star

You can try but it does not work 

SELECT *
FROM users
WHERE email NOT REGEXP '^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,6}$';


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.