Regular Expressions 101

Sponsors

Library entries

0
golang

nginx access regex loki

nginx access log regex
Submitted by Lethisa Putri - 20 days ago
0
golang

匹配邮箱

[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by Lintao - 3 months ago
0
golang

Golang Docker matcher

Used by me for docker-retagger
Submitted by Roman Minebaev - 4 months ago
0
golang

Jira issue number

Matches and catches Jira issue number
Submitted by anonymous - 4 months ago
0
golang

find email addresses

find email addresses
Submitted by anon - 4 months ago
0
golang

Split words in brackets

Split words in brackets
Submitted by ugurakcil - 6 months ago
0
golang

chia plot

chia plot
Submitted by temple - 7 months 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