Jump to content
  • 0

Syntax for "find pattern" text function in triggered actions


Felix
 Share

Question

Hello,

Does anyone know what language/syntax the "find pattern" text function in triggered actions uses?

I'm trying to extract a piece of text that lies between two characters (+ and _).

Does it use regex or something else?

Thanks!

Felix

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Felix,

I have a workaround to this but it is not by using a triggered action, this workaround is by using a formula field and some text manipulation formula. You may consider checking this:

SUBSTRING((RIGHT([@field:Leader_Text], LEN([@field:Leader_Text]) - PATINDEX('%+%', [@field:Leader_Text]))),0, CHARINDEX('_',(RIGHT([@field:Leader_Text], LEN([@field:Leader_Text]) - PATINDEX('%+%', [@field:Leader_Text])))))

Just change the fieldname to the field that you are currently using. I hope that helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...