Em Andamento

Function to Search and Match Text

I need a PHP function to be written which

1.? Scans a string of text [i.e., $text = 'Alexander the great was great';] to match a predefined list of names in an array [i.e., $listofnames = array('id1'=> 'bob doe', 'id2' => 'alexander pete' );].?

2. The output I want is the ID name ('id1', 'id2', etc)

3.? The search has to be case insensitive

4.? The search has to match any part of the name in $listofnames

Please let me know if you need any more clarification.? Thank you in advance.

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: text to string, text string search, string search in c, string match, search text string, search string in c, search string in array, search string c, search string, search c string, match string, match list, c string search, c search string, to search, search match, php function , match, php text array, string search, function search, list match, search advance, function search php, advance search function

Acerca do Empregador:
( 1 comentário ) United States

ID do Projeto: #3025022

Premiar a:

jarijokinen

See private message.

$17 USD em 14 dias
(29 Avaliações)
4.7