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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -