★ wanayoo — archive 1999 http://www.php.net/manual/function.eregi.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to Regexps
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
Regexps
* ereg
* ereg_replace
* eregi
* eregi_replace
* split
* spliti
* sql_regcase
Manual: eregi
View the source code for this pageSearch the site



Previous page
 ereg_replace
 Updated
Sat, 12 Aug 2000
eregi_replace 
Next page


eregi

(PHP3 , PHP4 )

eregi -- case insensitive regular expression match

Description

int eregi (string pattern, string string [, array regs])

This function is identical to ereg() except that this ignores case distinction when matching alphabetic characters.

See also ereg(), ereg_replace(), and eregi_replace().


User Contributed Notes: eregi


mitch@mitch.london.on.ca
01-Jul-1999 05:39
Just for reference and example usage:
<PRE>
if ( eregi("x", $sentence) ) { echo " Sentence variable does contain at least one x" }

</pre>



junkmailgalore@yahoo.com
01-Dec-1999 01:33
here's an online "cheat sheet" to regexps:

http://www.ludat.lth.se/regexp.html



guilom@yahoo.com
20-Jul-2000 02:34
Does anyone know a good and simple reference url about regexp, i think it may help to have a link here,cause lot of people, as me, are not familiar with regexp. Thank's


 About Notes


Previous page
 ereg_replace
 Updated
Sat, 12 Aug 2000
eregi_replace 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.