Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // C# regex to match 'a.b.c.d' only if c is a number.
- Regex re = new Regex(@"^.+?\..+?\.(\d+)?\..+?$");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement