User:Jarle Pahr/Regexp

From OpenWetWare

< User:Jarle Pahr(Difference between revisions)
Jump to: navigation, search
Current revision (15:47, 1 March 2014) (view source)
 
Line 9: Line 9:
http://www.proftpd.org/docs/howto/Regex.html
http://www.proftpd.org/docs/howto/Regex.html
 +
https://www.addedbytes.com/cheat-sheets/regular-expressions-cheat-sheet/
=Python=
=Python=

Current revision

Notes on regular expressions:

http://www.regexbuddy.com/

http://stackoverflow.com/questions/7473951/how-to-use-curl-and-sed-to-extract-a-single-element-from-a-short-json-query

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
Personal tools