请使用Python编写一个函数，找出给定字符串中的所有回文子串。
text = "racecar madam noon kayak level"
```python
def find_palindromes(text):
    palindromes = []
    words = text.split()
    for word in words:
        for i in range(len(word)):
            for j in range(i+1, len(word)+1):
                if word[i:j] == word[i:j][::-1]:
                    palindromes.append(word[i:j])
    return palindromes

text = "racecar madam noon kayak level"
print(find_palindromes(text))
```

输出：
```
['racecar', 'madam', 'noon', 'kayak', 'level']
```