Regular Expressions 101

Community Patterns

0

篩選MP Log Day

.NET 7.0 (C#)
篩選MP Log Day
Submitted by anonymous - 2 years ago
1...34567...15

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