Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

ereg function in php

//Replace words that begin with t with an empty string
while(eregi(“[[:<]](t[[:alpha:]]+)[[>:]]”), $search, $match)
{Print($match[1].” “);
$search=ereg_replace($match[1], “”, $search);
}
 
PREVIOUS NEXT
Tagged: #ereg #function #php
ADD COMMENT
Topic
Name
5+5 =