Remove string after delimiter

imransaiful17
imransaiful17 Registered Posts: 10 ✭✭✭✭

Hi Team,

Looking for help here on how to remove all string after a delimiter.

For example i have a data with the value: ht/w.domaindomain.c/pathpath

and i want to remove all the strings after the delimiter last '/'

the results would be : ht/w.domaindomain.c

Please assist. Thanks!

Best Answer

  • Vitaliy
    Vitaliy Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer Posts: 102 Dataiker
    Answer ✓

    Hi,

    To add to Manuel's solution. If you already know the pattern, you can use the similar Regex approach but with Find and Replace processor like below:

    Screenshot 2021-09-30 at 14.27.44.png

    Best,

    Vitaliy

Answers

Setup Info
    Tags
      Help me…