Updated regex with share param