Regex: Allows only positive numbers, greater than zero

Posted by: RegexLib.com - Recent Patterns, on 29 Jul 2005 | View original | Bookmarked: 0 time(s)

Regex: Allows only positive numbers, greater than zero

*********************************************

^[1-9]+[0-9]*$

Category: Regex | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 12935 | Hits: 41

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD