Regular Expressions Jobs

3 were found based on your criteria {{|number:0 }} were found based on your criteria

show all
  • Hourly ({{ jobTypeController.getFacetCount("0")|number:0}})
  • Fixed Price ({{ jobTypeController.getFacetCount("1")|number:0}})
Fixed-Price - Expert ($$$) - Est. Budget: $50 - Posted
I need a PHP Programmer to develop a single PHP Function. This function will be used in a CAT Tool used by internal employees of the company. This function replace terms in a original document using terms contained in a array. The words must be replaced using regular expression and already translated parts cannot be translated again by other array item. function translateDocument ( $pstr_originalDocument, $parr_translationMemory, $pbln_isUTF8, $pbln_tagTranslations) {​ /* * function code */ return pstr_originalDocument; }​ Vars or Parameters: 1) translateDocument: function name; This function returns a translated document; 2) $pstr_originalDocument: Original document text; 3) $parr_translationMemory: array of translations pairs array ('book' => 'livro', 'money' => 'dinheiro', 'tag' => 'marcador'); Array ( [book] => livro [money] => dinheiro [tag] => marcador ) 4) $pbln_isUTF8: If value is true then this function must work with UTF8 (return value and all parameters will use UTF-8), else will be used ISO-8859-1 charset. 5) $pbln_tagTranslations: If value is true this function must tag translated terms using the pattern: <translated original="$old">$new</translated>. Remember: words translated cannot be translated anymore.
Skills: Regular Expressions PHP