Learn CSS Selectors - with examples

I could write a XPath to select HTML elements with IP Address-like string, such as <li>172.23.4.56</li>. See my previous post. But I am not sure if we can write a CSS Selector that does the same match.

@Russ_Thomas

Do you have any idea?