Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Java 8

"
(?:.*:: )?([\w.]+)\)?
"
gm

Description

This regex extracts only the param type and omits any prefixed annotations included in the name.

Submitted by anonymous - 3 years ago