SyntaxFix
Write A Post
Hire A Developer
Questions
\d+
\d represents any digit, + for one or more. If you want to catch negative numbers as well you can use -?\d+.
\d
+
-?\d+
Note that as a string, it should be represented in C# as "\\d+", or @"\d+"
"\\d+"
@"\d+"