Basic Math Regex
Posted: 02 Jan 2017, 00:04
This was a while ago and I was wondering if someone could help me with a regex if someone asks to do some basic math such as add, subtract, multiply and divide.
Code: Select all
automacro OnePlusOne {
pubm /(\d+)(\+|-|/|\*)(\d+)/i
call {
do c <something>
}
}