BB code strip function (php)

Concluído Postado Nov 16, 2015 Pago na entrega
Concluído Pago na entrega

A simple job, but my efforts have failed and code snippets I am finding don't work. :(

I need a php function that will strip BB code from forum messages. However (and this is important!), there are two classes of BB code that need be handled differently.

One class should remove only the BB code tag, preserving the enclosed content. The second class should remove the BB code tag AND the enclosed content.

These tags may appear at anywhere in the data, from character 0 on.

I have attached a text document with some examples.

About the project: all I need is a php function, no formatting or anything else. Just a function. And please, do not send the finished product to my inbox before you are hired. It puts me in awkward position and I will ignore all such messages.

Let me know if you have any questions.

PHP Arquitetura de software

ID do Projeto: #8916736

Sobre o projeto

2 propostas Projeto remoto Ativo em Nov 16, 2015

Concedido a:

quandaodong

Hello, I'm new freelancer with skilled in php. I'm also an efficient, honest, responsible, hard working person who always put 100% to work and willing for new challenger. Hire me and i make 2 functions for you. Bu Mais

$30 USD em 3 dias
(4 Comentários)
1.9

2 freelancers estão ofertando em média $62 nesse trabalho

rajeshsonisl

Hello! With 98% to 99% completion rate, 850+ successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page [login to view URL] Mais

$94 USD em 1 dia
(637 Comentários)
7.8
TuanPHP

A proposal has not yet been provided

$35 USD em 1 dia
(0 Comentários)
0.0