Regular Expressions 101

Sponsors

Library entries

0
pcre

t1

t1
Submitted by anonymous - a year ago
0
java

Detect [YOTI] in string.xml

we can use this regex?
Submitted by anonymous - a year ago
0
pcre2

Les_crises

Articles revue "Les crises". Clean comments
Submitted by anonymous - a year ago
0
golang

Address

Address check
Submitted by anonymous - a year ago
0
golang

Another regex test

Testing for BetterDiscord chat alias plugin
Submitted by anonymous - a year ago
0
python

Well Defined Branch Names

Checks for well defined branch names
Submitted by anonymous - a year ago
0
python

N-Word Regex

N-Word Regex Status Not finished, highly broken
Submitted by anonymous - a year ago
0
pcre2

任意字符串

(.*)
Submitted by kobunketsu - a year ago
0
pcre

Keep Number and .,

Keep Number and .,
Submitted by HUUTAI - a year ago
0
pcre2

Get date from string

Get date from string
Submitted by anonymous - a year ago

Regex to verify a java method

Vote

0

Regular Expression
java

"
^\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 - a year ago