Hello bill clinton,
Depending on the restriction’s level, that you would like to, just use ONE of the three regexes, below and replace with a specific number, say 1000
Find what : (?-is)Quantity +\K\d+
Find what : (?-is)Stack.+Quantity +\K\d+
Find what : (?-is)Stack.+Log.+Quantity +\K\d+
and :
Replace with : 1000Notes :
Of course, the Regular expression search mode will be checked
The (?-is) modifiers, at the beginning, force the regex engine to do the search :
In an NON-insensitive case way, ( -i ) modifier
NOT as a single line, ( -s ) modifier. This means that the DOT does NOT match any End of Line characters. On the contrary, (?s), the DOT would match ALL the characters. So, for instance, the regex search (?s).+ is really identical, to CTRL + A !
Thus, because of these modifiers, you do NOT have to care about the state of Match case and . matches newline options !
Best Regards,
guy038