I am trying to remove the last piece of my string in QGIS.
I want to delete the E10 from the end.
I tried both:
How to easily edit attribute data using Regular Expressions?
regexp_replace("UPRN", 'E*', '')
as well as
regexp_replace("UPRN", 'E10', '')
but I get only pure 1.000 value.
In this approach:
Removing string to the right of a character using QGIS Field Calculator?
I tried:
regexp_replace("UPRN", ('E*'), '')
and
regexp_replace("UPRN", ('E*'), '')
but it still throws 1.0000 only.
What am I missing here?