text is :
WYATT - Ranked # 855 with 0.006 % XAVIER - Ranked # 587 with 0.013 % YONG - Ranked # 921 with 0.006 % YOUNG - Ranked # 8
Don't need a regex. string[: string.find(' ')]
regex
string[: string.find(' ')]