Advertisement
mtreit

Untitled

Dec 22nd, 2016
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. // C# regex to match 'a.b.c.d' only if c is a number.
  2. Regex re = new Regex(@"^.+?\..+?\.(\d+)?\..+?$");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement