0

My test string is:

let str = 'fooo 34.52€ bar <span>10x</span>'

I need to get all of the string but the float that is before the € sign. I managed to get only the float with:

[\d\.]+(?=€)

But i would like to get all except this.

matija
  • 1
  • 1

0 Answers0