S
S
Sergey2017-08-28 00:20:12
Python
Sergey, 2017-08-28 00:20:12

Why Doesn't output a number in regular expressions?

So the derivation of the word

zagolovki = re.findall('<td>(.+?)</td>', doc)
        print(zagolovki)

but it doesn't output numbers and characters as $

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ranc58, 2017-08-28
@Ranc58

Try'<td>(\w+)</td>'

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question