
Testers
Get flash to fully experience Pearltrees
Toolbox - Regular Expression Tester with examples
v1.31, 2006.05.01 by Robert Giordano Regular Expression Syntax: [agk] matches any one a, g, or k [a-z] matches any one character from a to z [^z] matches any character other than z [\\(\\)] matches ( or ) (in javascript, the escape slash must be escaped!) . any character except \n \w any word character, same as [a-zA-Z0-9_] \W any non-word character \s any whitespace character, same as [ \t\n\r\f\v] \S any non-whitespace character \d any digit \D any non-digit \/ literal / \\ literal \ \. literal . \* literal * \+ literal + \? literal ? \| literal | \( literal ( \) literal ) \[ literal [ \] literal ] \- the - must be escaped inside brackets: [a-z0-9 _.\-\?!]reWork: a regular expression workbench
A regular expression, without surrounding characters. For example, a*b or ab|cd , not /a*b/ . Results: /(to|the|t.xt)/g matchesRegular Expression Tester Anytime I use regular expressions (aka "regex"), I find myself doing a bit of trial-and-error until I get the right pattern. So, I whipped up this simple utility to help.

