Regular Expressions 101

Community Patterns

7

CSS Import

Python
no description available
Submitted by anonymous - 10 years ago
7

rsyslog test

PCRE (PHP <7.3)
global modifier
Submitted by dtmland - 9 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