Saturday, October 10, 2020

Python Regex - Find pattern between two blocks

 Examples:

(?<=<h4>).*(?=</h4>)

<h4>Act of attainder</h4>


match inner most multi groups:

(?<=<div class=\"wordbox)(?:(?!</h5></div></div>).)*

No comments:

Post a Comment