This module allows you to create custom tokens for the field available in all content types of Drupal and you can set the maximum character length to which the data to be replaced should be returne
This module adds bash-like substitution support to Token, where the substitutions are performed on the value of the token. Patterns should follow PCRE syntax.