User:Jarle Pahr/Regexp: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:


http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html
http://www.codinghorror.com/blog/2008/06/regular-expressions-now-you-have-two-problems.html
http://www.proftpd.org/docs/howto/Regex.html
https://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
=Python=
http://docs.python.org/2/library/re.html
http://docs.python.org/2/howto/regex.html
http://www.tutorialspoint.com/python/python_reg_expressions.htm
http://www.pythonregex.com/
https://developers.google.com/edu/python/regular-expressions?hl=no&csw=1
http://regexpal.com/
http://www.diveintopython.net/regular_expressions/index.html
=Perl=
=Syntax=
$ : End of string
^ : Beginning of string
\b : Word boundary
| : Or
X{a,b} : minimum a, maximum b X characters.
\d : any numeric digit.
\d{n} : exactly n numeric digits.
\D : Any character except numeric digits.
+ : One or more
. : single character (wildcard)
\D+ : 1 or more characters, except numeric digits.
* : zero or more characters

Latest revision as of 13:47, 1 March 2014