@Google-Sync said in How to Find and Replace a value bigger than 100(Float):
Now, if I want to replace something greater than 25.0, how do I put it? Just so I can try to understand how this language works.
That’s trickier. The expression given took advantage of the fact that if there are no leading zeros, any number with three or more digits before the decimal point must be greater than or equal to 100. This bit:
\d\d\d[.\d]*
matches three digits, followed by zero or more digits or decimal points.
To match 25 or greater, we’d need to break that down into numbers with three or more digits, numbers with two digits where the first one is 3-9 and numbers with two digits where the first one is 2 and the second one is 5-9. That could look like this:
(\d\d\d+|[3-9]\d|2[5-9])[.\d]*
making the whole thing look like this:
(?<="Value")\s*:\s*(\d\d\d+|[3-9]\d|2[5-9])[.\d]*(?=\s*,\s*"Name"\s*:\s*"Intensity")
Now, if you really mean greater than 25 (not greater than or equal to), you’d need to separate out the 25 case as well and make sure it is followed by a decimal point and a string of digits at least one of which is not 0.
For references to how regular expressions work, see the Notepad++ User Manual section on regular expressions.