Regular Expressions 101

Community Patterns

0

Kendala

PCRE2 (PHP >=7.3)
kendala
Submitted by rey - 2 years ago
0

Match color string

PCRE2 (PHP >=7.3)
Match color string
Submitted by EZ - 2 years ago
0

web validation

PCRE2 (PHP >=7.3)
web validation
Submitted by anonymous - 2 years ago
0

web validation

PCRE2 (PHP >=7.3)
web validation
Submitted by anonymous - 2 years ago
0

css var regex

PCRE2 (PHP >=7.3)
css var regex
Submitted by anonymous - 2 years ago

Sanitize percentage input into bare real number

0

Regular Expression
.NET 7.0 (C#)

@"
^ *([\+\-]?) *(?>([0-9]+)[.,]?([0-9]*)|[.,]?([0-9]+)) *%? *$
"

Description

Loading markdown...
Submitted by Moravuscz - a year ago