[nycphp-talk] PHP Regexp Classic Challenge
David Wang
dwang at udfi.biz
Fri Nov 19 12:16:59 EST 2010
strip_tags?
-d
--
David Wang
Entrepreneur in Training
+1 (434) 298 4588 | dwang at udfi.biz | www.udfi.biz | @daSn0wie
On Nov 19, 2010, at 11:51 AM, Edward Potter wrote:
> but regex is just so much more hardcore! :-))))))))
>
> http://www.delicious.com/ejpusa/regex
>
> On Fri, Nov 19, 2010 at 11:27 AM, Yitzchak Schaffer
> <yitzchak.schaffer at gmx.com> wrote:
>>> 2010/11/19 Peter Sawczynec <ps at blu-studio.com <mailto:ps at blu-studio.com>>
>>>
>>> I need to be able to grab the first 10 words or so from a HTML laden
>>> text string that is held in a db table field where the typical field
>>> content might be as follows below. After the processing, being left
>>> with only the straight text with punctuation would be fine
>>>
>>
>> On 19-Nov-10 10:06, Chuck Reeves wrote:
>>>
>>> I would recommend using DOMDocument instead of regex.
>>>
>>
>> ... unless of course the HTML is subject to wonkiness.
>>
>> --
>> Yitzchak Schaffer
>> _______________________________________________
>> New York PHP Users Group Community Talk Mailing List
>> http://lists.nyphp.org/mailman/listinfo/talk
>>
>> http://www.nyphp.org/Show-Participation
>>
>
>
>
> --
> IM/iChat: ejpusa
> Links: http://del.icio.us/ejpusa
> Follow me: http://www.twitter.com/ejpusa
> Karma: http://www.coderswithconscience.com
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20101119/fe7a8f44/attachment.html>
More information about the talk
mailing list