Right now I'm working with tokens which provides a easy way to generate menus through menu_tokens.

I've two nodes with the following information in its title:

  • Hospital Mc Graw
  • Hospital Mc Graw contact form

Above, just one sample of a couple of nodes, then I've the same 'title' structure for hundred of records:

Node2: + 'contact form'

I'm generating a menu based in tokens. So, what I'm looking for is create only one menu which run well in many nodes which share the same content type.

So, for the second link I've "[current-page:url]-contact_form" which function well, but for the first one, I need to remove the phrase '-contact_form'...

Is it possible to remove text from in the token?