Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

RegexConstants.cs 362 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
  1. namespace ContosoFlowers.BotAssets
  2. {
  3. public static class RegexConstants
  4. {
  5. public const string Email = @"[a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?";
  6. public const string Phone = @"^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}$";
  7. }
  8. }
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...