Regular Expression Examples
From TekiWiki
This whole wiki has now moved to http://www.springboardsolutions.com/wiki
Go to this page Regular Expression Examples
(Created page with "==Finding Blank Lines== This finds lines that only have spaces! tabs or nothing at all in them: <pre> ^[\t ]*$ </pre> ==Finding Trailing Spaces== This finds spaces at the end o...") |
|||
| Line 1: | Line 1: | ||
| + | [[Regular Expressions]] are very powerful and quite complex tasks can be achieved with just a few characters. The following example Regular Expressions are simple, frequently used expressions that can be adapted for your own purposes: | ||
| + | |||
==Finding Blank Lines== | ==Finding Blank Lines== | ||
This finds lines that only have spaces! tabs or nothing at all in them: | This finds lines that only have spaces! tabs or nothing at all in them: | ||