Hi, Monks, I am looking for an EXACT REGEX for a port number?
a few e.g
:42744
:1024
It DON'T want to MATCH my date Jun 19 08:48:50 where : is also present.
I went to https://regex101.com/ and wrote a bit, It WILL catch : of DATE data too
this catches BOTH
Can I have this?:[0-9]+
:[0-9]{4,5}
Your efforts r welcome.
In reply to Exact Regex for port Number by theravadamonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |