Scroll To Top

Regular Expressions in .NET

By Samir Bhogayta Oct 29, 2013
This blog defines regular expressions in .net.

Positive decimal value regular expression with max 3 decimal places:

Regular Expressions, .NET, C# Programming Language

  • Accepts all positive decimal values (currently only accepts values greater and equal to one (1))
  • i.e accepts ---> 0.0001
  • Can have maximum 3 decimal places.
  • Decimal places are optional.

This regular expression will be used to validate currency input.


Validate Indian Vehicle Number: