(c# regex) How to get numbers
myPattern = @”?:[.]?[d]+(?:[,.]*d)*”; However, I would like to exclude the numbers following the dollar sign ($). and want to exclude numbers in parentheses (){}[]. For example: input text (match) —————————– abc123,000.5xyz (match:123,000.5) abc.5xyz (match:.5) abc0.2xyz (match:0.2) abc123.2xyz (match:123.2) abc$123xyz (false) abc(123)77xyz (match:77) abc12{123}xyz (match:12) abc[123]xyz (false) c# regex
How to use regular-expressions in C language
I’m a new bike in C language, after some simple examples and best practices of how to use regular expressions in ANSI C.
I have simple test, want to get date in an description string bellow
“{d(02/01/2019)}-call Ms.ha check this case”. I mean want to get “02/01/2019”
this is my code