# Handlebar expression

**URL:** <https://connective.celigo.com/t/handlebar-expression/5677>\
**Category:** Integration Apps\
**Tags:** shopify\
**Created:** [October 8, 2025, 6:14pm UTC](https://connective.celigo.com/t/handlebar-expression/5677 "2025-10-08T18:14:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![swapnil\_jawale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@swapnil\_jawale](https://connective.celigo.com/u/swapnil_jawale)\
**Post date:** [October 8, 2025, 6:14pm UTC](https://connective.celigo.com/t/handlebar-expression/5677/1 "2025-10-08T18:14:19Z")

</div>

Hello Guys,

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?

 ![image](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/a/a5025ea10089462a5a108591ab93ef5744b7ff2b.png)

---

<div class="post-metadata">

**Author:** ![jayllanes](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/jayllanes/32/6810_2.png) [@jayllanes](https://connective.celigo.com/u/jayllanes)\
**Post date:** [October 9, 2025, 6:37pm UTC](https://connective.celigo.com/t/handlebar-expression/5677/2 "2025-10-09T18:37:15Z")

</div>

Hi Swapnil,

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:

```json
{{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.

 ![image](https://us1.discourse-cdn.com/flex001/uploads/celigo/original/2X/3/3b76177215332c35542295f5d10370cdc621a505.png)

You may refer to the link below for more information in using the “split” helper in handlebars:

[https://docs.celigo.com/hc/en-us/articles/39750608530331-split-helper#UUID-85b600ee-d580-e1e0-a26d-0c89d0400b6d](https://docs.celigo.com/hc/en-us/articles/39750608530331-split-helper#UUID-85b600ee-d580-e1e0-a26d-0c89d0400b6d)

A more general discussion of each handlebars helper can be found here:

[https://docs.celigo.com/hc/en-us/articles/360039326071-Handlebars-helper-reference](https://docs.celigo.com/hc/en-us/articles/360039326071-Handlebars-helper-reference)

Let me know if this works for you.

---

<div class="post-metadata">

**Author:** ![swapnil\_jawale](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@swapnil\_jawale](https://connective.celigo.com/u/swapnil_jawale)\
**Post date:** [October 10, 2025, 8:58am UTC](https://connective.celigo.com/t/handlebar-expression/5677/3 "2025-10-10T08:58:21Z")

</div>

> [@jayllanes](#):
>
> `{{split (split tags "abc_created_from_" 1) ","}}`

Hello Jay,

Thank you for your help its worked.
