User:Jarle Pahr/Regexp

From OpenWetWare
< User:Jarle Pahr
Jump to navigationJump to search

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
Retrieved from "https://openwetware.org/mediawiki/index.php?title=User:Jarle_Pahr/Regexp&oldid=778485"

Navigation menu

Page actions

  • User page
  • Talk
  • Read
  • View source
  • History
  • Refresh

Page actions

  • User page
  • Talk
  • More
  • Tools

Personal tools

  • Log in
  • Request account

Navigation

  • Main Page
  • Recent changes
  • Help
  • Contact OWW
  • Add a Lab Notebook
  • Special pages

research

  • Materials
  • Protocols
  • Resources

Tools

  • What links here
  • Related changes
  • User contributions
  • Logs
  • View user groups
  • Printable version
  • Permanent link
  • Page information
  • Browse properties
Powered by MediaWiki
Powered by Semantic MediaWiki
  • This page was last edited on 1 March 2014, at 20:47.
  • Content is available under GNU FDL or Creative Commons BY-SA unless otherwise noted.
  • About OpenWetWare
  • Disclaimers
  • Mobile view