My text parser replace doesn´t work

I need to remove the word “null” from my link.

Like, the link comes:

null79623029078/orders/9d5cd3e19ba175cc0622cf41e206c5ea

And I want:

79623029078/orders/9d5cd3e19ba175cc0622cf41e206c5ea

I already try to use the “text parser” node, but doesn´t work.

I ask the ai bot help and doesn´t work too.

I´m waiting for someone´s help.

1 Like

Hey @Carlega

this null has to be always at beginneing?? If yes, you can use substring() function like {{substring(text;4;length(text))}}

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

Hello @Carlega,

As @Msquare_Automation suggests, if null comes at the start of the given URL (string), then using the substring() function works as you need.

But if you want to remove it from anywhere in the string, you can use the replace() function.

Try this formula.
{{replace("null79623029078/orders/null9d5cd3e19ba175cc0622cf41e206c5eanull"; "null"; emptystring)}}

Output


:bulb:P.S.: Always search first, Check Make Academy. If this is helpful, Mark Best as Solutions :white_check_mark: and give :+1:
If you need expert help or have questions? Contact or comment below! :point_down: