Fuzzy search and partial search

Hello im working with graphql and mongoose. I want to make a search query but i want it to be fuzzy like when i search “ro bye” i need to get all data that contains “ro” or “bye” or if one of them is “byeo” i want it to be included. I have wrote one but i think its wasting some time. I tried $text $search but i had to give full text to match and with $regex it only gets one word for example above it wont give me anything because i dont have any data with “ro bye” in title. What should i do? Thanks