Notes

Validation

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Regex for Email Validation in JavaScript (Tested)
Coding tips

Regex for Email Validation in JavaScript (Tested)

A simple email regex for JavaScript forms, compared with a strict pattern and the browser's own check on ten addresses, plus a regex that froze for 1.5s.

October 4, 2026 · 8 min read · 415 views

HTML Form Input Types and Validation
Coding tips

HTML Form Input Types and Validation

HTML input types and built-in validation attributes (required, minlength, min, max, step, pattern) with examples tested in Chrome, plus :user-invalid styling.

October 2, 2026 · 8 min read · 155 views

0%