WeberDev.com PHP and MySQL Code

LOG IN
BEGINNER GUIDES  |  PHP CLASSES  |  CODE SEARCH  |  ARTICLES SEARCH  |  PHP FORUMS  |  PHP MANUAL  |  PHP FUNCTIONS LIST  |  WEB SITE TEMPLATES
Start typing to search for PHP and MySQL Code Snippets and Articles Search
Submit a code Example / Snippet Submit Your Code
Search Engine Optimization Monitor SEO Monitor
Web Site UpTime Monitor UpTime Monitor
WeberDev's Monthly code contest PHP Code Contest
Your Personal Examples List My Favorite Examples
Your Personal Articles List My Favorite Articles
Edit Account Info Update Your Profile
PHP Code Search
Web Development Forums
Learn MySQL Playing Trivia
PHPBB2 Templates
Web Development Index
Web Development Resources
Web Development Content
PHPClasses
PHP Editor
PHP Jobs
Vision.To Design
Ajax Tutorials
PHP Programming Help
PHP/MySQL Programming
Webmaster Resources
Webmaster Forum
XML meta language
website builder
Mobile Dev World
Returns the matched part of a multibyte regular expression

mb_ereg_search_regs

(PHP 4 >= 4.2.0, PHP 5)

mb_ereg_search_regsReturns the matched part of a multibyte regular expression

Description

array mb_ereg_search_regs ([ string $pattern [, string $option= "ms" ]] )

Returns the matched part of a multibyte regular expression.

Parameters

pattern

The search pattern.

option

The search option. Defaults to 'ms'.

Return Values

mb_ereg_search_regs() executes the multibyte regular expression match, and if there are some matched part, it returns an array including substring of matched part as first element, the first grouped part with brackets as second element, the second grouped part as third element, and so on. It returns FALSE on error.

Notes

Note: The internal encoding or the character encoding specified by mb_regex_encoding() will be used as the character encoding for this function.

See Also


This function searches text or HTML files for URLs embedded in the text and returns them in an array.
Categories : Arrays, Strings, General
How to build a search query for any N number of words in a search string
Categories : PHP, Regexps, Search Engines, Search
Stepping through a numbered array with each() and list()
Categories : PHP, Arrays



Bookmarklets are simple tools that extend the surf and search capabilities of Netscape and Explorer web browsers.
Categories : Java Script, HTML, General
A list of known port numbers
Categories : Network
Add Boolean Logic Functions to Database Queries Easily. A function to write a WHERE clause dynamically to search a database from a search form.
Categories : MySQL, PHP, Search
How to validate an Israeli ID number.
Categories : Ecommerce, PHP, Algorithms
who.php3 - prints a summary of the current activity on the system, including what each user is doing and where they are logged if from. PHP3 functions: exec, ereg System: IRIX 6.3
Categories : Complete Programs, PHP
Full membership authentication system.
Categories : Authentication, MySQL, PHP, Databases
Troubleshooting Full-Text Search
Categories : MS SQL Server
How to count the number of lines in a file
Categories : PHP, Filesystem
Dynamic WHERE CLAUSE depending on number of FORM FIELDS
Categories : ODBC, General SQL, PHP, Complete Programs, Databases
color codes for positive and negative numbers
Categories : PHP, MySQL, Databases, HTML
Creates three SELECT form fields: Month, Day, and Year. You give it a string which will be used to make the name for the three fields, and a number of seconds to use as the default date. If you give it blank for this value, the current date is used.
Categories : HTML and PHP, PHP, Date Time