c# - How can we assign length for the regex Code in WPF XAML Code -


how can input length in regex code following code. can insert more 15 digits if use regex mask

 <dxe:buttonedit x:name="txtedtmobile" width="auto"  maxlength="15" grid.column="2" grid.row="7" margin="2,2,2,2" validateontextinput="true"  tooltip="searchcountrycode" mask="[+ 0-9]+" masktype="regex" /> 

see below lines, may you. in place of 256 can add digits want add.

^(?!^.{256})([a-za-z0-9_-.]+)@(([[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.)|(([a-za-z0-9-]+.)+))([a-za-z]{2,4}|[0-9]{1,3})(]?)


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -