regular expression question: any character except a white space?
From: lawrence (lkrubner_at_geocities.com)
Date: 02/28/04
- Next message: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Previous message: Bart Nessux: "Re: Python as replacement for PHP?"
- Next in thread: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Reply: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Reply: John Dunlop: "Re: regular expression question: any character except a white space?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 28 Feb 2004 10:25:48 -0800
I'm bad at regular expressions. Is this how I would look for any set
of characters that go more than 60 characters without a white space?
.{60}[^ ]
Also, does this match a block of PHP in an HTML page:
\<\?PHP .* \?\>
- Next message: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Previous message: Bart Nessux: "Re: Python as replacement for PHP?"
- Next in thread: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Reply: Paul Wellner Bou: "Re: regular expression question: any character except a white space?"
- Reply: John Dunlop: "Re: regular expression question: any character except a white space?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]