[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 the currently available modules...
Tips and TricksA list of user-submitted tips ...
Download WebDNA ApplicationsWebDNA applications...
WebDNA reference...
WebDNA LibrariesA list of available libraries for WebDNA...
Technical Change HistoryThis Technical Change History provides a reverse chronological list of WebDNA changes...
To apply formats for Dates or Times other than the current date and time...
[referrer]Displays the URL of the referring page...
[founditems][founditems]...
[appendfile]Writes text to the end of an existing file...
[xslt]The [xslt] Context allows the WebDNA programmer to 'apply' an XSL style sheet to an XML document and thus 'transform' the XML data into any format the programmer desires (usually HTML)...
[writefile][writefile] functions allows you to perform a wide variety of tasks...