<?php

 $string = "facebookPageUrl";

preg_match_all('((?:^|[A-Z])[^A-Z]*)', $string, $matches);
var_dump($matches);