If you have a string like "digital marketing| seo| internet marketing" and you want to extract the tags (separated by |), you can use different methods depending on your programming language
digital marketing