August Development Update

:sparkles: Command Packs Improvements

We've made many enhancements to command packs. As a reminder, we currently support four command packs:

  • Gmail: Include the name or email of the person you are replying to automatically in your snippets.
  • LinkedIn: Include the name or headline of the person you are messaging automatically in your snippets.
  • Randomize: Randomly change the contents of your snippet so you never sound like a robot.
  • Capitalize: Match the capitalization of a shortcut when you use a snippet.

With this update, you can now use command pack commands in more places like forms. For example, you can now do something like {formtext: default={gmail-name}} to create an editable text field that defaults to the name of the person you are replying to in Gmail.

:mag_right: Formulas: Find all Matches

We've added a new function for formulas: extractregexall(). It works the same as extractregex() but returns all the matches, not just the first.

Here's an example of how to use it to get all the links from a piece of text:

{formparagraph: cols=60; name=text; default=Visit https://example.com/hawaii or https://example.com/florida if you need to see the sun. Want to cool off? Then visit https://example.com/alaska}

Just the first link (extractregex()):
{=extractregex(text, "(https?://.*?)( |$)")}

All links (extractregexall()):
{=extractregexall(text, "(https?://.*?)( |$)")}

Want to learn more about regular expressions? Check out this video we put together, which will walk you through the basics: How to process and manipulate strings of text with regex in Text Blaze - YouTube

Quick Tip of the Month

Did you know you can use Text Blaze snippets in your URL bar? Learn more in this video.

As always...

If you have any questions, feel free to post to our Question and Answer community forums. And if you have anything you would love to see in Text Blaze, please suggest it in the Features Ideas section.

3 Likes