I have a variable "height" with all the values being numerical but some values are below 50 were captures as "<50" ...metres

I would like categories this variable to categorical variable "<100" "101-150" ">150"

I am failing to de-string this variable since some values, I should say are being recognized as non-numeric

How can destring and recategorize to capture the "<50" values within the <100 category?

Thanks for your help in advance


Code:
* Example generated by -dataex-. To install: ssc install dataex
clear
input str10 height
"223" 
"<50" 
"103"   
"77"  
"88"
"166"    
"114"
"<50"