Tags: Calc Extensions
last edited: 2023-01-24
This extension aims to provide Calc functions using Regex.
For the moment, there is only one function, regextract, that extract caracters from a string according to a regex pattern. It contains 3 parameters: the string to search into, the pattern in which each group to be extracted is put into brackets, and the number of the group to be displayed. I.e: regextract("12 abc 12";"(\d+)\s(\D+)";1) = 12 and regextract("12 abc 12";"(\d+)\s(\D+)";2) = abc
Special thanks to Lorenzo Carbonell who helped me debugging this extension!
Release: 0.1.0 – First publication of this extension.
Operating Systems: Linux, Windows
Bastiaan Wakkie Jun 10, 2021, 8:56 AM (22 months ago)
Perfect tool that does what it supposed to do. For me way better than the standard regex capability with in calc.
Would be great if somehow the regex is showing directly -while typing- what it is selecting and replacing to not lose time figuring out a problem in the regex.