Skip to content

regex/time

  • The core functions, which every industry uses.
  • fractionalSecond: RegExp matching 1–9 fractional-second digits (nanosecond precision).
  • hour: RegExp matching an ISO 8601 hour in extended format: 00–23.
  • millisecond: Backward-compatible alias for fractionalSecond.
  • minute: RegExp matching an ISO 8601 minute: 00–59.
  • plainTime: RegExp matching ISO 8601 local time (extended): HH:mm[:ss[.fffffffff]].
  • second: RegExp matching a second of 00–59.

Last updated:

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.