Guest User

Untitled

a guest
Dec 12th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. using System;
  2. using System.Text.RegularExpressions;
  3.  
  4. namespace Application
  5. {
  6. class MainClass
  7. {
  8. public static void Main (string[] args)
  9. {
  10.  
  11.  
  12.  
  13.  
  14. string text = "213.123.11.0 455.121.123.123 0.0.0.0.0 asdasdad ";
  15.  
  16. }
  17. Regex r = new Regex ("\b[0-255].[0-255].[0-255].[0-255]\b");
  18. Console.WriteLine(r.Match(text));
  19. Console.ReadKey ();
  20. }
  21. }
Add Comment
Please, Sign In to add comment