How to show a specific part from a html text

This is an easy task.
Just use a php function and show as you like.

[“js”]

[/”js”]