[regex] is a full implementation of grep
numero = 1011Some specific operators used by [regex] will be interpreted by WebDNA, like "%2B" or "%26" for instance. In this case, it is safer to [url][/url] the operator like in the following
Example:[text]value=\b0%2B[/text][regex search=[value]&replace=]080.010.001.305[/regex]or
[text]value=\b0+[/text][regex search=[url][value][/url]&replace=]080.010.001.305[/regex]will both show 80.10.1.305 [regex] is a full implementation of grep, starting from version 8.1 of WebDNA. The older implementation of [grep] remains for backward compatibility for its simple search and replace capabilities, however, [regex] is a better choice.
Some specific operators used by [regex] will be interpreted by WebDNA, like "%2B" or "%26" for instance. In this case, it is safer to [url][/url] the operator like in the following
[text]value=\b0%2B[/text]
[regex search=[value]&replace=]080.010.001.305[/regex]
[text]value=\b0+[/text]
[regex search=[url][value][/url]&replace=]080.010.001.305[/regex]
DOWNLOAD WEBDNA NOW!
A list of available libraries for WebDNA...
WebDNA reference...
Download WebDNA ApplicationsWebDNA applications...
WebDNA ModulesA list of the currently available modules...
AWS Raw WebDNA LAMP-Plus WebServerAmazon Web Services (AWS) README for Machine Image ID...
Tips and TricksA list of user-submitted tips ...
[wait] just does what it says...
[time]Putting [time] in your template displays the current time set on your web server's clock...
[table][table] allows you to quickly create a temporary 'in line' database that is local to the template and not part of the global database cache...
[array]Array Operation...
[listpath]Breaks a path into separate foldernames and a filename...
[xmlnodes]The behavior of this context is to iterate the child XML nodes of a parent node...