Extracting the first sentence out of a block of text

I need to extract the first sentence out of a block of text. The sentence will end with a period, exclamation point, or question mark followed by a space.

numero = 46
interpreted = N
texte =
[listwords]
when used with "delimiters" can redefine the meaning of what a word is.
[listwords words=[your words go here]&delimiters=.!?][showif [index]=1]The first sentence is:  [word][/showif][/listwords]
[listwords]
when used with "delimiters" can redefine the meaning of what a word is.
[listwords words=[your words go here]&delimiters=.!?]
[showif [index]=1]
The first sentence is: [word]
[/showif]
[/listwords]
Joe D'Andrea

DOWNLOAD WEBDNA NOW!

Top Articles:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Tips and Tricks

A list of user-submitted tips ...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Related Readings:

Database backup

How to make a backup of your databases...

How to create a RSS feed

How to create a RSS feed from yourdatabase on formation...

Do you hate updating the copyright notice at the bottom of all your pages?

It's January 1st and you have to update the copyright notice at the bottom of all your websites...

Cloning a Record

Often...

Redefining [date] & [time] to match your time zone

Your server is not always in the same time zone as your web site...

How many working days?

This small script finds the number of working days between two dates...