Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Exact Regex for port Numberby thanos1983 (Parson) |
on Jun 19, 2018 at 09:48 UTC ( [id://1216927]=note: print w/replies, xml ) | Need Help?? |
Hello theravadamonk, Fellow Monks have tried to tackle your question but from my point of view we are not still able to understand the problem. Can you provide us a sample of string that you want to apply the regex to check the port? For example is it like <IP>:<PORT> or is through a URL e.g. http://www.test.com:80/, or maybe something else. Help us to help you :) BR / Thanos
Seeking for Perl wisdom...on the process of learning...not there...yet!
In Section
Seekers of Perl Wisdom
|
|