RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details [INI] Value from section and key
Expression
[^]*\[section\][^\[]*\nkey=(.+)[^]*
Description
This regular expression provides a way to get the value associated to the specified key in the specified section: replace with $1.
Matches
[section] \n key=value
Non-Matches
[section] \n [another] \n key=value
Author Rating: The rating for this expression. Luca Meloni
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2025, RegexAdvice.com | ASP.NET Tutorials