04-07-2017 04:58 AM
Is there a way in TestStand for Find & Replace with regular expressions, keeping the regular expression content in replacements?
For example, I search for "Locals.MyNum = .*"
I find Locals.MyNum = 12, Locals.MyNum = 5411, Locals.MyNum = 7777, etc.
And I wish to replace by something like "Locals.MyNum = .* + 25" for getting:
MyNum = 12 + 25, Locals.MyNum = 5411 + 25, Locals.MyNum = 7777 + 25, etc
Is it possible?
04-07-2017 05:04 AM
For the examples you have given you could go for replacing "Locals.MyNum =" with "Locals.MyNum = 25 + "
04-07-2017 05:40 AM
Yes, but that's only an example; what I need is not as simple. Let's say I wish to add things to get something like: Locals.MyNum = 12, (Locals.MyNum > 100)?(Locals.MyNum = Locals.MyNum / 2):(Locals.MyNum)
06-14-2019 05:24 AM
Did you ever figure this out?