Is there a way to perform math operation using regular expressions? I use HomeSite, and using Extended replace with Regular Expressions, I am able to locate/replace a code, but can not find how to perform math operations on the found code.
Okay, let me explain this better. What i'm trying to do is using Extended replace find prices on my pages and do some math operations with them. So far using extended replace i can find the prices, but how do i perform math operations on them. is this possible?
I use the following RegEx to locate the code: Price ([$][0-9.]*) but can not do this for example /1 * 2 , i want to simply take the value stored in the first variable and multiply it by 2.