Google form regex for numbers with comma as decimal separator

Ortegal

I'm trying to figure out a regex to be used in Google Forms data validation for numbers with comma as a decimal separator.

Examples of valid entries:

123,5 ; 1 ; 0,1 ; 0,001

Examples of invalid entries:

123.5 ; [a-z] ; any characters other than numbers

I've already tried ^[1-9]\d*(,\d+)?$ but it doesn't seem to accept commas.

Eduardo Lynch Araya

Example:
123,5 ; 1 ; 0,1 ; 0,001

RegExp

[\d*.\,{1}\;{1}]

Try it: http://regexr.com/3f0r0

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Parsing numbers with a comma decimal separator in JavaScript

From Dev

Add comma separator to a numbers with 2 decimal points

From Dev

Pasting decimal numbers in excel / comma and point decimal separator

From Dev

JavaScript regex to accept numbers with comma separator (thousands) and dot separator (decimals)

From Dev

Masked EditText with comma as decimal separator

From Dev

seq uses comma as decimal separator

From Java

Pandas convert numbers with a comma instead of the point for the decimal separator from objects to numbers

From Dev

Format a decimal with comma as decimal separator and without thousands separator

From Dev

Getting numbers behind decimal separator

From Dev

Regex a decimal number with comma

From Dev

Regex a decimal number with comma

From Dev

Jaxb conversion of number with comma as a decimal separator

From Dev

Why django uses a comma as decimal separator

From Dev

How to make InvariantCulture recognize a comma as a decimal separator?

From Dev

Show comma instead of point as decimal separator

From Dev

NumericUpDown: accept both comma and dot as decimal separator

From Dev

Convert a double to 2 decimal places with comma separator

From Dev

Read txt file with comma decimal separator in MATLAB

From Dev

Only add thousand separator before decimal comma

From Dev

NumericUpDown: accept both comma and dot as decimal separator

From Dev

Convert a double to 2 decimal places with comma separator

From Dev

Show comma instead of point as decimal separator

From Dev

Read txt file with comma decimal separator in MATLAB

From Dev

bc: decimal separator comma vs. point

From Dev

jQuery Validation Plugin: validate decimal number with comma as decimal separator

From Dev

Treat Comma and Period as Decimal Separator in Navision Decimal Fields

From Dev

formatting decimal number to string with comma as decimal separator in racket

From Dev

regex for numbers comma and space

From Dev

Regex valid numbers with thousand separator

Related Related

  1. 1

    Parsing numbers with a comma decimal separator in JavaScript

  2. 2

    Add comma separator to a numbers with 2 decimal points

  3. 3

    Pasting decimal numbers in excel / comma and point decimal separator

  4. 4

    JavaScript regex to accept numbers with comma separator (thousands) and dot separator (decimals)

  5. 5

    Masked EditText with comma as decimal separator

  6. 6

    seq uses comma as decimal separator

  7. 7

    Pandas convert numbers with a comma instead of the point for the decimal separator from objects to numbers

  8. 8

    Format a decimal with comma as decimal separator and without thousands separator

  9. 9

    Getting numbers behind decimal separator

  10. 10

    Regex a decimal number with comma

  11. 11

    Regex a decimal number with comma

  12. 12

    Jaxb conversion of number with comma as a decimal separator

  13. 13

    Why django uses a comma as decimal separator

  14. 14

    How to make InvariantCulture recognize a comma as a decimal separator?

  15. 15

    Show comma instead of point as decimal separator

  16. 16

    NumericUpDown: accept both comma and dot as decimal separator

  17. 17

    Convert a double to 2 decimal places with comma separator

  18. 18

    Read txt file with comma decimal separator in MATLAB

  19. 19

    Only add thousand separator before decimal comma

  20. 20

    NumericUpDown: accept both comma and dot as decimal separator

  21. 21

    Convert a double to 2 decimal places with comma separator

  22. 22

    Show comma instead of point as decimal separator

  23. 23

    Read txt file with comma decimal separator in MATLAB

  24. 24

    bc: decimal separator comma vs. point

  25. 25

    jQuery Validation Plugin: validate decimal number with comma as decimal separator

  26. 26

    Treat Comma and Period as Decimal Separator in Navision Decimal Fields

  27. 27

    formatting decimal number to string with comma as decimal separator in racket

  28. 28

    regex for numbers comma and space

  29. 29

    Regex valid numbers with thousand separator

HotTag

Archive