Regular Expressions 101

Regex EditorCommunity PatternsAccountRegex QuizSettings

Order By

  • Most Recent
  • Most upvotes
  • Most downvotes
  • Highest Score
  • Lowest Score
  • Relevance

Filter by Flavor

  • PCRE2 (PHP)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java
  • .NET 7.0 (C#)
  • Rust
  • PCRE (Legacy)
Sponsors
There are currently no sponsors. Become a sponsor today!

Community Patterns

-1

IPv4 Matcher

Created·2021-03-24 16:23
Flavor·Java
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by EMAM1999
0

IP Address Validator

Created·2022-08-03 20:30
Flavor·Java
Validates IPv4 Address for Java
Submitted by krzysp, jpalvesloiola
1

IPv4 + TCP-Port

Created·2022-01-12 07:59
Flavor·Java
This regex matches a IPv4 with a TCP Port (1-65535) Example: 192.168.0.69:1337 will match and have the groups: Group 1: 192.168.0.69 Group 2: 1337
Submitted by SIMULATAN