RegexAdvice – Extract strings in-between curly braces

RegexAdvice – Extract strings in-between curly braces.

http://regexadvice.com/blogs/mash/archive/2007/06/01/You_2700_ve-got-your-sub_2D00_matches-in-my-matches.aspx

Raw Match Pattern:
\{([^}]*)\}

$matches Array:
(
 [0] => Array
 (
 [0] => {Mr. Jones}
 )

 [1] => Array
 (
 [0] => Mr. Jones
 )


Michael

“In theory, theory and practice are the same. In practice, they are not.”
Albert Einstein