<?php var_dump(preg_match('#https?://(?:plus\.)?google\.com/\+?(\w+)#i', 'https://plus.google.com/+ForeigñNáme/', $matches));
You have javascript disabled. You will not be able to edit any code.