Regular Expressions in .NET

By Samir Bhogayta Oct 29 2013
This blog defines regular expressions in .net.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 2.6k
  • 0

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: