[TYPO3-english] Re: Remove double quotes by Typoscript

Mitja mitja.orlic at gmail.com
Wed Mar 20 09:00:59 CET 2013


Hi Sergio!

(Since TYPO3 4.6) This object performs an ordered search and replace operation on the current content with the possibility of using PCRE regular expressions. An array with numeric indices defines the order of actions and thus allows multiple replacements at once.

Example:
20 = TEXT 20 {
value = There_are_a_cat,_a_dog_and_a_tiger_in_da_hood!_Yeah! stdWrap.replacement {
10 {
 search = _
 replace.char = 32
}
20 {
                  search = in da hood
                  replace = around the block
                }
                30 {
                  search = #a (Cat|Dog|Tiger)#i
                  replace = an animal
                  useRegExp = 1
} }
}

Check the TSREF this is better explained in there ;)


More information about the TYPO3-english mailing list