Build, test, and debug regular expressions
This regex matches Instagram profile URLs and captures the username in group 1. It handles both instagram.com and instagr.am domains, supports optional http/https protocols and www prefixes, and allows usernames containing letters, numbers, hyphens, and underscores. Useful for validating, parsing, or extracting Instagram profile links from text content.