Giter Site home page Giter Site logo

vba_regex_funcs's Introduction

VBA regex functions

VBA adapations of Python re functions

Features

  • Regular expression functions adapted from python's re library.
  • Several functions that can be used from a worksheet once the add-in is enabled.
  • The Regex Builder Form, a GUI for building regular expressions.

How to use

  • The functions can be used in VBA macros if you want, but if you want to use them as worksheet functions, do the following:
    1. Open Excel.
    2. Go to Options -> Add-ins -> Go -> Browse
    3. Select the path to RegexFunctions.xlam in your file explorer
    4. Open up regexfunctions_addin_test.xlsx and use F9 to refresh all the functions. You can visually inspect the results and source code to make sure it looks like successful_test_outcomes.png.
  • To use these functions in a VBA Macro, do the following:
    1. Open Excel.
    2. Use Alt-F11 to open macros.
    3. Go to Tools -> References -> Browse and change the type of extensions you're looking for to "Microsoft Excel Files".
    4. Select the path to RegexFunctions.xlam in your file explorer.
    5. While you're at it, search for "Microsoft VBScript Regular Expressions 5.5" on the checklist and check that. This will allow you to use RegExp objects. The references are ordered alphabetically.
  • See the CHANGELOG for what functions you can use.
  • Also see regular-expressions.info for more information on the object model that VBA regular RegExp objects use.

Contributing

Be sure to read the [contribution guidelines]

(https://github.com/molsonkiko/vba_regex_funcs/blob/main/CONTRIBUTING.md).

vba_regex_funcs's People

Contributors

molsonkiko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.