;Value will never single digit.
Find lowest
And tell position …
Here we should get 4as output as 04 is a row of small number … better if we get all four numbers in log messages to display.there can be any no of rows …
This data is also available in text , string format or we can also write to excel in one column and each line above is a row…by generate data table… can anyone help it needs regex and linq
We have other Number also present between $ but need to only pick number higher than 1 digit and numbers can be decimal as well …
Also , can i replace $ with *. ?? As in real there will be * also but for other scenarios.
Req number will return the small number right
4 i also need the starting number of that small number
E.g. small number is at 4th position then i need 4
U can see 01 02 03 04 are the sequence of those numbers.
I am checking the number to be present between 2 dollars so as per dataset given there is only one number
Yes you can replace $ with *
It would directly give you 04 only not the small number …if you need small number then use only this Dt.AsEnumerable.Min(function(x) Cint(System.Text.RegularExpressions.Regex.Match(x(0).ToString,"\$\d+\$").Value))
for this format you need to use a different one…also it would be good if you close this and create a new topic and instead of screenshot if you paste the the data it would be easy to get the regex for us