Hi mukesh1,
If range goes above 25 it will display a error message. If range is below 25 it was accepted.
Please refer below sample.
HTML
<asp:TextBox ID="txtNumber" runat="server"></asp:TextBox><br />
<asp:RegularExpressionValidator ControlToValidate="txtNumber" runat="server" ForeColor="Red"
ErrorMessage="Only number between 0-25 with maximum 2 decimal places allowed."
ValidationExpression="^(((2[0-4]|1[0-9]|[0-9]|0[0-9])|0|\.\d{1,2})($|\.$|\.\d{1,2}$))|((25|25.0|25.00)+$)"
Display="Dynamic"></asp:RegularExpressionValidator>
Screenshot