Retrieve text when given before and after subtext flags


This content is archived and is not being updated. For the latest documentation, go to What's new in Power Automate?. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.

Enabled for Public preview Early access General availability
Admins, makers, marketers, or analysts, automatically - - Aug 14, 2022

Business value

With this new dedicated desktop flow action, you're able to directly get text before, after, or between two subtext flags from an input text in a simple way. You can do this instead of relying on using a combination of text-based actions or using regular expressions.

Feature details

This new action retrieves text from an input text using any one of the following options:

  • Get text before a subtext flag.
  • Get text after a subtext flag.
  • Get text between two subtext flags.

Subtext flags are text markers in the input text that can be case sensitive during look-up.

See also

Text actions reference (docs)