Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
((?<=\[client\]\n)[\w\n\s=#\/.]*(?=\[))
/

Description

its mysql config file, i need find user only [client] section (or take sure shat its section not content user)

Submitted by jonfir - 10 years ago