Regular Expression (Regex) to match number with exact 1 decimal place, exact 2 decimal places, or upto 2 decimal places


Case 1: Number must have exact 1 decimal place



Case 2: Number must have exact 2 decimal places



Case 3: Number must have either 1 or 2 decimal places




© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.