Public feed #889131

Mine

public text v1 · immutable
Raw Edit
·published 2008-02-02 18:13 UTC
rendered paste body
$input = $YourRawArray[X];
preg_match_all('¤\{([^\}]+)\}¤U',$input,$multiword,PREG_SET_ORDER);
$input = preg_replace('¤\{.+\}¤',"",$input);
$input = preg_replace('|\s\s+|',' ',$input);
$input = explode(" ",strtolower($input));

print_r($multiword);
print_r($input);