DEV Community

Cover image for Clean Code Studio Software Resources (Regex)
Clean Code Studio
Clean Code Studio

Posted on • Edited on

2 3

Clean Code Studio Software Resources (Regex)

Twitter Follow


Email pattern /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,8})+$/
Phone pattern /^((+\d{1,3}(-
Url pattern /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#()?&//=]*)/
Alphabetical characters only pattern /^[a-zA-Z]*$/
Alphabetical and numeric characters only pattern /^[a-zA-Z0-9]*$/
Alphabetical, numeric, dashes, and underscore characters only pattern /^[a-zA-Z0-9-_]+$/
IPv4 or IPv6 pattern /^(25[0-5]
IPv4 pattern /^(25[0-5]
IPv6 pattern /^((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*::((?:[0-9A-Fa-f]{1,4}))((?::[0-9A-Fa-f]{1,4}))*


Did you know I have a newsletter? 📬

If you want to get notified when I publish new blog posts or make major project announcements, head over to https://cleancodestudio.paperform.co/

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (1)

Collapse
 
cleancodestudio profile image
Clean Code Studio

AWS Q Developer image

Your AI Code Assistant

Implement features, document your code, or refactor your projects.
Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay