Re: how to write a regular expression?
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.php archive

Re: how to write a regular expression?

From: Peter van Schie <vanschie.peter@gmail.com>
Date: Sat Jul 16 2005 - 16:47:07 CEST

_andrea.l wrote:
> How can I use it?
> what does it means /is?
> this is a perl format, I can use it whith php and how?

Use preg_match()
With the regular expression and the subject as arguments.
See: http://nl2.php.net/manual/en/function.preg-match.php

-- 
http://www.phpforums.nl
Received on Mon Oct 17 21:08:39 2005