Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi,

                                    I have a TextEdit with numerical input. If something is entered and then erased, I want it is empty instead of "0". Therefore, I used the RegExp mask \d{0,5} according to your answer to question ID Q182153. However, this mask format can only allow integer input. My question is how I should modify the mask format to allow any number input instead of only integer.





                                Please review this article to learn how to create your own RegEx Mask: Mask Type: Full Functional Regular Expressions
                                The following mask works for me: this.textEdit1.Properties.Mask.EditMask = @"-?\d+(\R.\d{0,2})?";

                                Thank you, Marina


                                It works. Thanks a lot!


                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners