Regular Expressions 101

Community Patterns

0

fix plot histogram calls

.NET 7.0 (C#)
k
Submitted by anonymous - a year ago
0

Get h1-6 tag

.NET 7.0 (C#)
(.*?)
Submitted by OlegBel - a year ago
0

USD

.NET 7.0 (C#)
USD
Submitted by anonymous - a year ago
0

for killerswim

.NET 7.0 (C#)
a
Submitted by anonymous - 9 months ago

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 - 9 months ago