I need to build a regular expression that finds a string of this format:
[name] => X
Where X is equal to the name of something and is a line break. I would like to somehow return X in an array using preg_match.
X
preg_match
^\[.*\] => (.*)$
http://rubular.com/