Regular Expressions 101

Sponsors

Library entries

0
java

my regex

test
Submitted by anonymous - a year ago
0
golang

Filter 4, 10 digits and email

Test
Submitted by gert rohde - a year ago
0
java

Kotlin FTP Proto Check

ftpProtoCheck
Submitted by anonymous - a year ago
0
java

Password in java

password in java
Submitted by anonymous - a year ago
0
java

Regex 1

Розділення речень в тексті
Submitted by DJI - a year ago
0
java

email with cyrillic

email with cyrillic
Submitted by Mpchest - a year ago
0
java

Regex to verify a java method

Verifies java methods
Submitted by Marco Galindo - a year ago
0
java

移除非法字符

冲鸭!
Submitted by anonymous - a year ago
0
java

123

123
Submitted by anonymous - a year ago
0
java

Yuque

Yuque
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