Performs a regular expression search and replace.

Required parameters:

First - the regular expression to be replaced.
Second - the string to replace it with.

{'The rain in Spain\nfalls mainly on the plain'|regex_replace:'[\n]':' '}

Will output

The rain in Spain falls mainly on the plain

Last edited Feb 16, 2010 at 1:07 PM by JacoPretorius, version 1


No comments yet.