|  | Posted by sberry on 11/08/07 19:05 
In PHP I have many more options for functions that do regularexpression than I did in Perl.  My question is what is the best one to
 use for doing the following:
 
 Give the following:
 {Somestring.somestring.somestring} blah blah {somestring} value here
 not used {more.text.here}
 
 I want an array like the following:
 [0] => Somestring.somestring.somestring
 [1] => somestring
 [2] => more.text.here
 
 So basically I just want to capture the contents (alpha-numeric +
 periods) inside of curly braces.
 
 Thanks for any help.
  Navigation: [Reply to this message] |