219464 php text replacer project

Need some help with a php text replacer. I want am needing to submit a article sized text to a php script then it should take every word over 4 chars and run it thru a function one word at a time, if the function returns a true then it should replace that word with the returned value word template from the function.

Here is what I am looking for.

#1 Function needs to return the same case as the word.


Word : Currently

Return : {Currently|Right now|As of right now}




Example: 3

Word: currently

Return: {currently|right now|as of right now}

#2 Articles need to keep their orginal spacing like (/n/t/r) and punctuation

#3 The php script ignore words that have already been templated.

Example: {dummy|ignorant|misspelling} would be a templated word containing mutipule words in it.. basicly just ignore any thing in between {*} brackets.

I have attached some examples of what I was working on, it's dumbed down for easy work flow. I imagine that what needs to be done is have some way to loop thru each char and find the words and then use substr() function to replace that text then start replacing text from the last char replace instead of just starting from the beginning all the time.

Please if you bid take a look at the attachment, to make sure you know know what your getting into. I suspect that project is very easy but I am just to tired to figure it out right now and I need a fresh mind on it.

If you have any questions please let me know, I am looking to get this project done asap as I suspect it's a quick fix from the examples.

This should be an easy project for someone looking for some feedback to their experience with scriptlance, all programmers welcomed to bid reguardless of feedback levels.

happy bidding.

Kemahiran: Semua Boleh, PHP

Lihat lagi: work with scriptlance, word find template, use case levels, text now, project for programmers, i was tired, find programmers for a project, find php programmers, scriptlance down, r programmers, please i need to find programmers, make loop, find programmers for project, php script last, php brackets, word find function, looking work tired looking, brackets, php help function, ignore text php, brackets script, brackets php, welcomed submit, php function quick help, replace template php

Tentang Majikan:
( 33 ulasan ) Little Rock, United States

ID Projek: #1965697

Dianugerahkan kepada:


Please see PMB

$20 USD dalam 0 hari
(9 Ulasan)