Re: regexp question - extracting wanted ascii characters only?

From: Date: Wed, 04 Apr 2001 11:49:12 +0000
Subject: Re: regexp question - extracting wanted ascii characters only?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47015@lists.php.net to get a copy of this message
On Wednesday 04 April 2001 11:23, you wrote: > Is it possible through the regexp to specify that I > only want some of the ASCII characters from the binary > stream? Here is the perl equivalent: > > /([\040-\176\s]{3,})/g > > I want only those words that are minimum 3 characters > and I want the characters to match the ASCII numbers > from 40 to 176. Why do you ask if you already have the solution? man preg_match -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offence. - Edsger W. Dijkstra

« previous php.general (#47015) next »