Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Python

r"
(?<=<tag>)([a-zA-Z\s\w]+)(?=</tag>)
"

Description

(?<=<tag>)([a-zA-Z\s\w]+)(?=</tag>)

get content between tags

Submitted by anonymous - 6 years ago