skip to main content

kiesler.at
YahooPipesRegex
Back to Page | Back to History

Difference between revisions

Version 2, 2008-06-27 11:28 Version 3, 2008-06-27 11:29
Lines 36 - 41 Lines 36 - 42
* [\s] -- one space character. Includes ' ' and tabs (\t) * [\s] -- one space character. Includes ' ' and tabs (\t)
   
* [()] -- groups. You can use the groups matched in the replacement field. For example replace [(\d)] with [0$1] results in a leading zero added. * [()] -- groups. You can use the groups matched in the replacement field. For example replace [(\d)] with [0$1] results in a leading zero added.
  * [[]] -- character groups. For example, [123] matches 1, 2 or 3.
   
* [^\d] -- combination. ^ means not, \d means digit. So one character, being everything but a digit, is matched here * [^\d] -- combination. ^ means not, \d means digit. So one character, being everything but a digit, is matched here
* [\d*] -- '*' means: 0 to n matches. This would match no or up to infinite digits. * [\d*] -- '*' means: 0 to n matches. This would match no or up to infinite digits.