I'm looking for a way to subtract a fixed amount if the number is bigger than specified value - using regex
e.g.
If the number is bigger than 10000 I want to subtract 5000, so it should look like:
175 -> 175
7831 -> 7831
12091 -> 7091
I'm looking for a way to subtract a fixed amount if the number is bigger than specified value - using regex
e.g.
If the number is bigger than 10000 I want to subtract 5000, so it should look like:
175 -> 175
7831 -> 7831
12091 -> 7091