Чтобы найти текст, исключая содержимое тега span, можно использовать следующий код на языке Python с использованием библиотеки BeautifulSoup:
```python
from bs4 import BeautifulSoup
html = '''
<div class="product-buy__price-wrap product-buy__price-wrap_interactive">
<div class="product-buy__price product-buy__price_active">1 199 ₽<span class="product-buy__prev">1 899</span></div><div class="product-buy__hint"></div></div>
'''
soup = BeautifulSoup(html, 'html.parser')
price_element = soup.find(class_='product-buy__price_active')
if price_element is not None:
text = price_element.get_text(strip=True)
text = text.replace(' ', '')
text = text.replace('₽', '')
print(text)
else:
print(None)
```
Результат выполнения программы будет:
```
1199
```