[Solved] How to extract system uptime from html using regular expression in C#


the timestamp looks unique to me so i would use its pattern

time

[0-9]{2}h:[0-9]{2}m:[0-9]{2}s

day

if the day is always folloed by <span id='RgSwInfodays'> and has a length 1-3

[0-9]{1,3}(?= <span id='RgSwInfodays'>)

2

solved How to extract system uptime from html using regular expression in C#