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:

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

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

AWS Raw WebDNA LAMP-Plus WebServer

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

Tips and Tricks

A list of user-submitted tips ...

WebDNA Modules

A list of the currently available modules...

F.A.Q

A compilation of some user's questions...

Related Readings:

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

Handling credit card numbers

Encrypting the credit card numbers does the job quite nicely...

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...

Find duplicate records

Find duplicate records and do something with them...

WebDNA interaction with zip

I have a project where I'm allowing several people to upload images...