How can I replace th, nd, st from the following data using regex with anything say a space.
my random text goes here with th in it..... "11th March" ....my random text goes here with th in it. my random text goes here with nd in it..... "02nd March" ....my random text goes here with nd in it. my random text goes here with st in it..... "01st March" ....my random text goes here with st in it.
So far I tried this [0-9]0-9 but it also replaces the number. How do I retain digits or just select those required parts?