text is :
WYATT - Ranked # 855 with 0.006 % XAVIER - Ranked # 587 with 0.013 % YONG - Ranked # 921 with 0.006 % YOUNG - Ranked # 8
Regex is unnecessary for this. Just use some_string.split(' ', 1)[0] or some_string.partition(' ')[0].
some_string.split(' ', 1)[0]
some_string.partition(' ')[0]