Monday, August 1, 2022

Validate User input data using Regular Expressions in Business Central using AL

 Hi Reader, 

Data is a crucial part of a Database and should be stored correctly and in the right format. But how do you make sure that users will not make any manual errors for the new customized fields? For example, if an E-mail is to be sent, the E-mail entered by the user should be in the right forward or valid so that emails are sent correctly. 

For scenarios like these, regular expression comes handly.