Reg Exp and sentences
- From: kjhjhjhjadsasda@xxxxxxxxxxxxxx
- Date: 30 Sep 2005 02:58:55 -0700
Hi
Im trying to get a solid regular expression that identifies sentences
from a text chunk and that throws away anything that isnt.
Example:
pjkoqwe () asdkj() asdasd...... dasdkasjk ** This is a proper sentence,
right here. Hejrkjlekk werkwe wer werjlkj! Wedkljew erewrkjkj?
Wwlkjfdskjsdflk sdlkfjsdsd sdflkjsd sdfkjsdf, sdfklj sdflkjsdf lksdfj.
1223 sd dskj() sdkjas | asd| |sdasda sadkjasd
Would result in:
This is a proper sentence, right here. Hejrkjlekk werkwe wer werjlkj!
Wedkljew erewrkjkj? Wwlkjfdskjsdflk sdlkfjsdsd sdflkjsd sdfkjsdf,
sdfklj sdflkjsdf lksdfj.
Eg something that looks for a length more than say 5 words, that starts
with an upper case letter, can include ,()- and space and ends with an
..!?
Thanks
M
.
- Follow-Ups:
- Re: Reg Exp and sentences
- From: Scott Bryce
- Re: Reg Exp and sentences
- From: Dr.Ruud
- Re: Reg Exp and sentences
- From: Sherm Pendley
- Re: Reg Exp and sentences
- Prev by Date: Re: Full_screen by default after loan the CGI file, anyone know
- Next by Date: Re: Reg Exp and sentences
- Previous by thread: Re: Full_screen by default after loan the CGI file, anyone know
- Next by thread: Re: Reg Exp and sentences
- Index(es):