Math operations

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

evilowl
Posts: 5
Joined: Thu Apr 12, 2012 11:10 pm

Math operations

Postby evilowl » Wed Mar 15, 2017 12:32 am

Good day.

Please tell me, can i find values by regexp and do math with it?

For ex - converting lb to kg
find (\d\d)lb and replace $1 * 0.45

User avatar
DataMystic Support
Site Admin
Posts: 2204
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Re: Math operations

Postby DataMystic Support » Sat Mar 18, 2017 7:51 am

Yes, use the Calculation filter.

First use the search/replace to find the text as above, and set the Action to, Send $1 to subfilter.

Then add the calculation filter as a subfilter.
Regards,

Simon Carter, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 4 guests