I am trying to fetch text only within certain tags. For example, I need to extract the number #0001 using an expression. I tried using an expression but did not achieve the expected result. Can anyone please let me know how to handle this using an expression?
When trying to extract specific strings or characters from a field that contains multiple or long lines of strings, it is important to establish an identifier or marker so as to be able to identify where a desired string begins and ends.
In your case, may I suggest the handlebar below:
{{split (split tags "abc_created_from_" 1) ","}}
I used the beginning part of the tag “abc_created_from_” as the identifier of where the desired string begins (as a separator) while the subsequent “ , ” identifies the ending separator.
I tested it in the Integrator playground and it looks like it worked. Please refer to the screenshot below.