paulg will pay $20.00 to the first person to successfully answer the question:

I need a PHP function to completely strip all Wiki markup from an input block of text. Following are 2 paragraphs. The first is a Wiki-marked up paragraph. The second is what I would like the cleaned-up output to be:

Joanne "Jo" Rowling''' [[Order of the British Empire|OBE]] [[Bachelor of Arts|BA]] ([[Exoniensis|Exon]]) (born [[31 July]] [[1965]][http://www.hp-lexicon.org/index-2.html The Harry Potter Lexicon], ''[http://www.hp-lexicon.org/muggle/encyc/muggle-encyc-intro.html The Muggle Encyclopedia] - [http://www.hp-lexicon.org/muggle/encyc/muggle-y.html Y]''. Accessed [[17 March]] [[2006]]. ) is an [[England|English]] fiction [[writer]] who writes under the [[pen name]] '''J. K. Rowling'''.[http://www.hp-lexicon.org/index-2.html The Harry Potter Lexicon], ''[http://www.hp-lexicon.org/about/books/books-hp.html The Harry Potter books]''. Accessed [[19 March]] [[2006]]. Rowling is the [[author]] of the ''[[Harry Potter]]'' [[fantasy]] series, which has gained worldwide attention, won multiple awards, and sold over 325 million copies worldwide. [http://www.contemporarywriters.com/authors/?p=auth03D22J591912635584 "J. K. Rowling"]. Accessed [[23 March]] [[2006]]. In [[February 2004]], ''[[Forbes]]'' magazine estimated her fortune at [[Pound sterling|£]]576 million (just over [[United States dollar|US$]]1 billion and still is at the same spot in 2007{{fact}}), making her the first person to become a US-dollar billionaire by writing books. Watson, Julie and Kellner, Tomas. [http://www.forbes.com/maserati/billionaires2004/cx_jw_0226rowlingbill04.html "J.K. Rowling And The Billion-Dollar Empire"]. [http://www.forbes.com/ Forbes.com], [[26 February]] [[2004]]. Accessed [[19 March]] [[2006]]. In 2006, ''Forbes'' named her the second richest female entertainer in the world, behind talk show host [[Oprah Winfrey]]. [http://www8.contactmusic.com/news.nsf/article/oprah%20is%20richest%20female%20entertainer_1019476 OPRAH IS RICHEST FEMALE ENTERTAINER]. Accessed [[20 January]] [[2007]]. ''Forbes'' also ranked Rowling as #48 on the 100 most powerful celebrities list of 2007.[http://www.forbes.com/lists/2007/53/07celebrities_JK-Rowling_CRTT.html Forbes]

Joanne "Jo" Rowling OBE BA (Exon) (born 31 July 1965) is an English fiction writer who writes under the pen name J. K. Rowling. Rowling is the author of the Harry Potter fantasy series, which has gained worldwide attention, won multiple awards, and sold over 325 million copies worldwide. In February 2004, Forbes magazine estimated her fortune at £576 million (just over US$1 billion and still is at the same spot in 2007), making her the first person to become a US-dollar billionaire by writing books. In 2006, Forbes named her the second richest female entertainer in the world, behind talk show host Oprah Winfrey. Forbes also ranked Rowling as #48 on the 100 most powerful celebrities list of 2007.

funded

Answer paulg's question

People succeed in answering paulg's questions 17% of the time (1 success in 6 attempts).

Counter Offer:

$24 | $28 | $32 | other:

Answers by: darksanity | Rich Collins

Rich Collins's Answer:

Reply by Rich Collins 492 days ago

This might help:

http://www.phpclasses.org/browse/package/3111.html