This is my Image Url PHP Code.
$GetImage = 'https://lh6.ggpht.com/hWXw7YRl9DpSMewd29xT9rvxcgnmGXeXSY9FTaPc3cbBCa-JO8yfwSynmD5C1DLglw=w124';
preg_match_all("/https://\w\w\d.\w+.com/[\w-]+=\w\d{2,3}/", $GetImage, $Result, PREG_SET_ORDER);
its working for me, but i want to extract "[\w-]" pattern results, in other words, i want to extract "hWXw7YRl9DpSMewd29xT9rvxcgnmGXeXSY9FTaPc3cbBCa-JO8yfwSynmD5C1DLglw" this string from my image Url...
Please anybody help my to solve this problem....
thanks
preg_match? You did try putting braces (()) around that[\w-]+sequence?