Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"""
<h3 class="api-name" id="([a-zA-Z_0-9]+)".+?(?:Protection level: ([a-zA-Z_0-9]+)|Constant Value:)
"""
gs

Description

Find all Android permissions with their severity in HTML source code of google documentation.

Submitted by Alticore (Antoine ADAM: https://github.com/Antoine-ADAM) - 3 years ago