I had a good look at the network to answer this question, but it doesn't seem to work.
I developed the following regular expression:
(?<![^\d][\\])[\.](?![\d])
The goal is to identify any ".". (dots) that have not been escaped or are part of a decimal number.
t)
- abc.co.uk, both points must match
- ab0.co.uk, both points must match
- abc.0.uk, both points must match
- abc \ .co.uk, only the second dot maps
- 0.00, point must not match
- abc0.0.uk, the first point will not match (which is an acceptable result), the second point should
Currently it works for all of the above cases, except:
- abc.0.uk, both points must match
Any thoughts? It seems that the appearance is working correctly, but you should not look.
I am sure that it will be easy for any Regex guru!
FYI. I am developing this in .net 4
source share