Regular Expressions 101

Sponsors

Library entries

0
java

LinkedIn Profile Url

LinkedIn Profile Url
Submitted by Morons - 2 months ago
0
java

lat cyr letters

only lat and cyr letters
Submitted by anonymous - 2 months ago
0
java

时间

时间
Submitted by 旧信 - a month ago
0
java

FullName_regex

2135
Submitted by anonymous - a month ago
0
java

Cron Syntax

This checks the syntax for CRON
Submitted by Till Hummel - a month ago
0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 16 days ago
0
java

REGEX OS

Regex para extrair titulo e descrição duma OS
Submitted by anonymous - 2 days ago
-1
golang

rtrtr

gtgtg
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