Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var str = "127.0.0.1";
- var matches = str.match(/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement