I have a regular expression that Im using in php:
$word_array = preg_split( \'/(\\/|\\.|-|_|=|\\?|\\&|html|shtml|www|php|cgi|htm|aspx|asp|index|com|net|o
How about trying preg_match() instead of preg_split()?
preg_split()
The pattern (using the Assertions):
/([a-z0-9]{3,})(?
The function call:
$pattern = '/([a-z0-9]{3,})(?
You can try the function here: functions-online.com/preg_match_all.html
Hope this helps