Regular Expressions 101

Community Patterns

4

import url image

Python
import url image
Submitted by bartimeys - 8 years ago
1...34567...875

URL Validation

0

Regular Expression
.NET 7.0 (C#)

@"
^(?=(?<http>(?:https?:\/\/){1}(?:www\.)?)?)(?(?=\k<http>?(?<ipaddr>(?:\d{1,3}\.){3}\d{1,3}(?:\:\d{1,5})?))\k<http>?\k<ipaddr>(?:\.[\w]{1,9})?|\k<http>(?:[\w]\.?){1,255}\.[\w]{1,9})(?:\/.*)?$
"
gm

Description

Loading markdown...
Submitted by anonymous - 8 months ago