Regex Tools

Tags: Calc Extensions

Rating:

This extension aims to provide Calc functions using Regex.

regex tools 0ed2a3b5 7b6e 4c86 ba80 b0afffc54066

Description

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!

Homepage: https://github.com/vmalep/LORegExAdd-In

Release List

Release: 0.1.0 – First publication of this extension.

Compatibility: 5.4
Operating Systems: Linux, Windows
License: GPL

Feedback

Post your review

You cannot post reviews until you have logged in. Login Here.

Reviews

  • Bastiaan Wakkie Jun 10, 2021, 8:56 AM (5 days 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.

RSS feed for reviews on this page | RSS feed for all reviews