Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Irregular
0.7.3
RegEx/Unix/Conf_Section.regex.txt
# Matches Sections in a .conf file.
(?m)\[(?<SectionName>(?:.|\s){0,}?(?=\z|]))(?<SectionLines>(?:.|\s){0,}?(?=\z|^\[))