Regular Expressions 101

Community Patterns

0

blogtag for dave

PCRE2 (PHP >=7.3)
regex for urls
Submitted by Yaron - 2 years ago
0

HMR siprec MIME

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

validate tlf

PCRE2 (PHP >=7.3)
Validate tlf
Submitted by anonymous - 2 years ago
0

Car2DB format

PCRE2 (PHP >=7.3)
My REGEX
Submitted by Author - 2 years ago
0

addrestest

PCRE2 (PHP >=7.3)
address java
Submitted by anonymous - 2 years ago
0

OmegaT exercises

Java 8
OmegaT exercises
Submitted by msoutopico - 2 years ago

Regex to verify a java method

0

Regular Expression
Java 8

"
^\s*((public|private|protected)? *(static)? *(void|int|String|boolean|float|double) +[a-zA-Z_](\w)* *[\(] *(((int|String|boolean|float|double) +[a-zA-Z_](\w)*))* *( *, *int +[a-zA-Z_](\w)* *| *, *String +[a-zA-Z_](\w)* *| *, *boolean +[a-zA-Z_](\w)* *| *, *float +[a-zA-Z_](\w)* *| *, *double +[a-zA-Z_](\w)* *|\))+\s*[{]\s*|( *public +static +void +main *\( *String *(\[\])? * args *(\[\])? *\)\s*[{]\s*))
"
gm

Description

Loading markdown...
Submitted by Marco Galindo - 2 years ago