Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2023-10-23 14:12
Flavor·PCRE2 (PHP)

/
(\(\)\n[[:space:]]{1,}\{)|(\(\)[[:space:]]{1,}\{)
/
gm
Open regex in editor

Description

I wrote this regex to find all of the function headers in java.

Submitted by anonymous