PHP preg_match entre chaîne

Je vais essayer d'obtenir la chaîne hello world.

C'est ce que j'ai obtenu jusqu'à présent:

$file = "1232#hello world#";

preg_match("#1232\#(.*)\##", $file, $match)

source d'informationauteur Kevin King | 2012-11-26