User Tools

Site Tools


regex:numbers:0_and_numbers_not_beginning_with_0

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

regex:numbers:0_and_numbers_not_beginning_with_0 [2022/09/20 23:07] – created peterregex:numbers:0_and_numbers_not_beginning_with_0 [2022/09/20 23:08] (current) peter
Line 1: Line 1:
 ====== Regex - Numbers - 0 and numbers not beginning with 0 ====== ====== Regex - Numbers - 0 and numbers not beginning with 0 ======
 +
 +<code>
 +^(0|[1-9][0-9]*)$
 +</code>
 +
 +----
  
regex/numbers/0_and_numbers_not_beginning_with_0.1663715266.txt.gz · Last modified: 2022/09/20 23:07 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki