[TYPO3-dev] tslib_fe-contentStr-hook
Dmitry Dulepov
dmitry at typo3.org
Fri Oct 17 14:44:02 CEST 2008
Hi!
Steffen Kamper wrote:
> when i use the tslib_fe-contentStr-hook i can do simple search/replace
> adding them to the array. The function in tslib_fe uses str_replace.
>
> What i need is search/replace with reg. expression, eg
> search for ___UID:123___
> where i fetch record with uid 123 and replace the complete one with
> content of a field.
>
> Is there another way to do it?
I did not understand what the problem is but if you want to replace using regular expressions, you always can use preg_replace.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/iphone_as_productivity_tool/
More information about the TYPO3-dev
mailing list