Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

regular expression match direct in template

Quote Reply
regular expression match direct in template
Is there a way to do a regular expression match directly in the template by calling a GT function with a condition?

e.g.

<%set myvar = $link_results%>

<%GT::CGI::somefunc($myvar, '/700/650/g');%>

where the second parameter is a regular expression or some way to specify a replacement?