Pattern Search Regular Expression
Andreas Perstinger
andipersti at gmail.com
Sat Jun 15 11:01:47 EDT 2013
subhabangalore at gmail.com wrote:
>I know this solution but I want to have Regular Expression option.
>Just learning.
http://mattgemmell.com/2008/12/08/what-have-you-tried/
Just spell out what you want:
A word at the beginning, followed by any text, followed by a word at
the end.
Now look up the basic regex metacharacters and try to come up with a
solution (Hint: you will need groups)
http://docs.python.org/3/howto/regex.html#regex-howto
http://docs.python.org/3/library/re.html#regular-expression-syntax
Bye, Andreas
More information about the Python-list
mailing list