Network
#port
#network
#tcp
#udp
Port Number
Matches a valid TCP/UDP port number from 0 to 65535.
✓ Server configuration✓ Network firewall rules✓ URL parsing
/
/
Test String
6 matches
80
443
8080
3000
65535
0
(…)Group #1— Capturing group — captures matched text for reuse or extraction66— '6' — literal character55— '5' — literal character55— '5' — literal character33— '3' — literal character[…]Character class […]— Matches any single character listed in this set||— | — alternation: matches expression on left OR right66— '6' — literal character55— '5' — literal character55— '5' — literal character[…]Character class […]— Matches any single character listed in this set\ddigit— \d — digit (0–9)||— | — alternation: matches expression on left OR right66— '6' — literal character55— '5' — literal character[…]Character class […]— Matches any single character listed in this set\d{2}digit— \d — digit (0–9) — repeated exactly 2 times · {2} — exactly 2 times||— | — alternation: matches expression on left OR right66— '6' — literal character[…]Character class […]— Matches any single character listed in this set\d{3}digit— \d — digit (0–9) — repeated exactly 3 times · {3} — exactly 3 times||— | — alternation: matches expression on left OR right[…]Character class […]— Matches any single character listed in this set\d{4}digit— \d — digit (0–9) — repeated exactly 4 times · {4} — exactly 4 times||— | — alternation: matches expression on left OR right[…]Character class […]— Matches any single character listed in this set\d{0,3}digit— \d — digit (0–9) — repeated between 0 and 3 times · {0,3} — between 0 and 3 times||— | — alternation: matches expression on left OR right00— '0' — literal characterPattern:
73 charsInput: 24 chars100% client-side · private
✓ Valid Examples
- 80
- 443
- 8080
- 3000
- 65535
- 0
✗ Invalid Examples
- 65536
- 99999
- -1
- abc