Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression to match IP Address. #4

Open
sctfic opened this issue Mar 13, 2014 · 0 comments
Open

Regular expression to match IP Address. #4

sctfic opened this issue Mar 13, 2014 · 0 comments

Comments

@sctfic
Copy link

sctfic commented Mar 13, 2014

improove regexp to match only valid IP-Adress
(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)(.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}

see
http://stackoverflow.com/questions/106179/regular-expression-to-match-hostname-or-ip-address/14453696#14453696

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant