Getting a unknown word out of a list with no spaces

Calvin Spealman ironfroggy at gmail.com
Thu Jul 17 08:35:30 EDT 2008


BeautifulSoup. You need a good html parsing, not some one-shot code to
handle one tiny unflexable pattern.

On Thu, Jul 17, 2008 at 3:07 AM, Alexnb <alexnbryan at gmail.com> wrote:
>
> Hello
>
> Lets say I have a string:
>
> --a href="/browse/brick"--brick--/a--
>
> The -- needs to be replaced with < or > where applicable.
>
> and I want the "brick" out of that string (the second brick that is). How
> can I get just the "brick" out of that string?
> --
> View this message in context: http://www.nabble.com/Getting-a-unknown-word-out-of-a-list-with-no-spaces-tp18502758p18502758.html
> Sent from the Python - python-list mailing list archive at Nabble.com.
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Read my blog! I depend on your acceptance of my opinion! I am interesting!
http://ironfroggy-code.blogspot.com/



More information about the Python-list mailing list