<?php
$re = "/(\\$[a-z]{1})(.*?)(?=\\$|$)/"; 
$str = "10\$athis is text a\$bthis is text b/\$cthis is text\$dthis is text d"; 
 
preg_match_all($re, $str, $matches);
print_r($matches);