Re: RegExp Help
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: RegExp Help

From: <tunity5@yahoo.com>
Date: Sat May 28 2005 - 04:17:22 CEST

wxforecaster wrote:
> Hi All.
>
> I'm having trouble creating a particular regular expression.
>
> I need the expression to begin with a new line character and then a
> period, followed by all text until it hits the following sequence of
> characters: capital letter, capital letter, capital letter, number,
> number, number.

I am new to rexular expressions too but think this should do it:

{[\n][\.](.)*[A-Z][A-Z][A-Z][0-9][0-9][0-9]}
Received on Thu Sep 29 14:19:33 2005