I’m looking for a template tag something like truncatewords that will truncate a string (usually: TextFields) on a sentence boundary (double newline, sentence punctuation etc.).
I’d prefer to implement this as a template tag for maximum portability. I would use it on several projects where I can’t alter models.py.
I realize this probably involves Regular Expressions which…wow, where to start? I’m a designer & not much of a programmer.
This seems like a really common problem and surely someone has some traction on it elsewhere.
(Cross-posted to StackOverflow if you want to answer there for extra karma)