Regex Tools

22 8

This extension aims to provide Calc functions using Regex.

Project 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!


Calc Extension,

Homepage of the Project

Current Release

Regex Tools - 0.1.0

Released Aug 02, 2017 — tested with:

LibreOffice 5.4,

First publication of this extension.
More about this release…


All Releases









Aug 02, 2017
  • Linux
  • Linux-x64
  • Windows
  • LibreOffice 5.4
First publication of this extension.
  • GNU-GPL-v3 (General Public License Version 3)

Legal Disclaimer and Limitations for Downloads

The Document Foundation has not reviewed, and cannot review, all of the material, including computer software, available on or by means of The Document Foundation's
websites, and cannot therefore be responsible for that material's content, use or effects. By operating its websites, The Document Foundation does not represent or imply that it endorses the material there available, or that it believes such material to be accurate, useful or nonharmful. You are responsible for taking precautions as necessary to protect yourself and your computer systems from viruses, worms, Trojan horses and other harmful or destructive content. The Document Foundation's websites may contain content that is offensive, indecent or otherwise objectionable, as well as content containing technical inaccuracies, typographical mistakes and other errors. The Document Foundation's websites may also contain material that violates the privacy or publicity rights, or infringes the proprietary rights, of third parties, or the downloading, copying or use of which is subject to additional terms and conditions, stated or unstated. The Document Foundation disclaims any responsibility for any harm resulting from the use by The Document Foundation's visitors of The Document Foundation's websites, or from any downloading by those visitors of content available on or by means of The Document Foundation's websites.


Content contained on The Document Foundation's websites, including these Legal Disclaimers and Limitations, may be changed at the sole discretion of The Document Foundation and without notice. You are bound by any such updates or changes, and so should periodically review these Legal Disclaimers and Limitations.

If you believe any file is present on the site contrary to any TDF rule or applicable law, please supply full details to for impartial consideration.