A collection of useful regex patterns
A collection of regular expressions to solve everyday tasks. Quickly find and test JavaScript regex patterns for tasks such as matching dates, HTML tags, or Hex color codes.
A collection of useful regex patterns launched on November 22, 2016 with 14 votes, #1,278 of 3,051 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 10 years on.
In plain words
A collection of regular expressions for common programming tasks, designed for developers who work with JavaScript. The resource provides ready-to-use regex patterns for matching dates in various formats, HTML tags, hex color codes, ISO-8601 timestamps, shortcode tags, and other frequently needed patterns. Users can quickly find and test patterns without writing them from scratch.
written by AI from its launch page and website · 3 December 2026
Forecast
85%
chance that this product’s website is still online in December 2031. Typical launch of 2016 gets 80%.
- 1 year · Dec 2027
- 97%
- typical 96%
- 3 years · Dec 2029
- 92%
- typical 88%
- 5 years · Dec 2031
- 85%
- typical 80%
- A collection of useful regex patterns
- Typical launch of 2016
Launch signals stronger than 89% of the archiveweakest → strongest
Made on December 2, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →
From the sources
Will match dates with dashes, slashes or with spaces (e.g. dd-mm-yyyy dd/mm/yyyy dd mm yyyy), and optional time separated by a space or a dash (e.g. dd-mm-yyyy-hh:mm:ss or dd/mm/yyyy hh:mm:ss). Matches the content in between [img][/img]. Useful for making dynamic WYSIWYG editors Will match a valid date and times in the ISO-8601 format, excludes durations. Matches opening and closing shortcode tags with content in-betweenfrom projects.lukehaas.me
Does a similar job
free ones →all alternatives →
Regex Cheatsheet2020 · ihateregex.io · ▲499A modern regular expression playground with live matching, visual railroad diagrams, rich notes, and easy sharing.
- RFRegEx for Regular Folk2020 · refrf.shreyasminocha.me · ▲502
RegEx for Regular Folk is a visual, example-based guide to regular expressions designed for beginners.
Learn Regular Expressions with simple2020 · regexone.com · ▲144RegexOne is an interactive platform for learning regular expressions through hands-on exercises.

Matches.js -- Powerful Pattern Matching for2012 · github.com · ▲96Powerful pattern matching for Javascript.
More work this month
the category →
Enter any place on Earth. See every satellite that passed over it this week, and the actual pictures they took.
Work · 24d ago · watched.earth




Free, no-bot meeting notes with memory, now in your browser
Work · 17d ago · spellar.ai

Is A collection of useful regex patterns yours? Feature it on the home page: $19, or free with the badge →
Source: Show HN post ↗
Launched alongside, November 2016
the whole month →

CSS Reference is a free visual guide to CSS. It features the most popular properties, and explains them with illustrated and animated examples.
Dev tools · 2016 · cssreference.io
Netflix Offline▲1,067Watch Netflix anytime without an internet connection
Life & fun · 2016 · help.netflix.com


Explore machine learning by playing w/ pics, music, and more
AI · 2016 · labs.google
