c# - Ignoring a line on Comparing two strings -


i need compare 2 strings representing html (something 300 lines both). should identical, except line wich contains date in format dd/mm/yyyy hh:mm:ss, need ignore line. problem have static file containing 1 html wich use base in comparing, , other 1 on runtime url. line date different.

the line doesnt have identifier tag, id or name, parent elements doesnt have nothing identify it. so, options have ignore line in comparing method?

remove date time regex.replace, compare strings.


Comments

Popular posts from this blog

android - Pass an Serializable object in AIDL -

How to provide Authorization & Authentication using Asp.net, C#? -

How to use Authorization & Authentication in Asp.net, C#? -