🚧 under construction
Last updated 2 years ago
Was this helpful?
JS ⟩ value ⟩ object ⟩ regex ⟩ example ⟩ JS-style numbers
replit ⟩ JS-style numbers
'use strict'; // toggle sloppy/strict mode const { log } = console; // ⭐ pattern for JS-style numbers const numberPattern = /^[+\-]?(\d+(\.\d*)?|\.\d+)([eE][+\-]?
Eloquent JS ⟩ Regular Expressions ⟩ Numbers again
using regex