Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RegExpres - 10 digit negative numer with 2 decimals ?
Message
 
 
À
03/04/2008 12:23:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01307893
Message ID:
01307923
Vues:
10
Try
-\d{3}(,{0,1}\d{3}){2}\.\d{2}
>
>How would you rewrite this 2 express. to check for 10 digit number with (-) sign and 2 decimals. How to include thousand separators like '.' and decimal separator like ',' ?
>
>"^-?\d+(?:\.\d{0,3})?$"
>
>"^([0-9]+(\\.[0-9][0-9]))$"
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform