Hi guys

I need to extract text within two separators in a string like below:
PHP Code:
{available_now}
this text I need to extract
{/available_now
How can I do that?