|
|
Search
You searched for the word(s):
< 1 second(s)
-
Many thanks, it worked perfectly :D
-
Hi, I am using the regex:
$st='@cfcfcf|7a7a7a|777777|6|dedede|858585|fghtytyjtjt@@cfcfcf|7a7a7a|777777|6|dedede|858585|rrrreeee@@cfcfcf|7a7a7a|777777|6|dedede|858585|brown@'
$st = preg_replace('!@.*?brown?@!s', '', $st);
to strip between @ and @ when 'brown' is found. This may or may not be the last in the ...
-
Solved it.. seems ereg doesnt support ?,
$searchstring='{<!-- #BeginEditable "'.$n.'" -->(.*?)<!-- #EndEditable -->}si';
preg_match($searchstring,$thearticle,$result);
works
-
Hi, My aim is to obtain the text between some html comment tags. At this stage I am looking for the text between the first set of comments on a page with multiple comments. I am working in php. The source text is thus:
<!-- #BeginEditable "1" -->hjkhkhjkhkjhkhj&nbsp;
<!-- #EndEditable -->
<!-- #BeginEditable ...
|
|
|