Matching a section
import re
text = "This is <a string> with some <sections> marks."
m = re.search(r'<.*>', text)
if m:
print(m.group(0))
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
import re
text = "This is <a string> with some <sections> marks."
m = re.search(r'<.*>', text)
if m:
print(m.group(0))