zubrag.com
Free php and cpanel scripts to automate your daily routine

Free PHP Scripts :: PHP Text Splitter

PHP Text Splitter gets plain text as input and breakes it into separate sentences. Smart logic implemented to catch abbreviations. Supports custom sentences separator.

Each sentence must start with uppercase letter in order to be parsed correctly.

This tools consists of only one php file, and does not need any third party components.

Download PHP Text Splitter


Comments

joelbrudenright [anti-spam] hotmail.com July 11, 2006
I'm amazed on how it recognizes abbreviations! Thanks a lot! Joel
Dan July 23, 2006
Cool
anoopd1 [anti-spam] hotmail.com October 16, 2007
Hi
I am getting Warning: preg_split() [function.preg-split]: Compilation failed: internal error: overran compiling workspace at offset 1473 in /public_html/textsplit.php on line 247.
steve_gwillim [anti-spam] shaw.ca October 20, 2007
I am getting errors as well: on lines 61 and 74

matheusn [anti-spam] hotmail.com November 21, 2007
thaks for the very useful script.

i just wanna know one something, instead of using a separator, wold there be a way of limiting the extension of the string by a number fo characters without cutting any word? specially if it has special characters like &ccedil..

thanks anyway!
bbb May 11, 2011
zzzzzzzzzz

Add Comment

!!! Comments posted here will not be answered. If you want to ask a question please post it on the forum.

E-mail or Name: Not required. Email will be protected from spammers

Comment: Please do not post unrelated comments

Anti-spam: Please enter (50ebfd57) into the box