ur key opening tag key firstname keys to obfuscate lastname hash passw

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
ur"""
(
<key[^>]*>\s* # opening tag <key>
(firstname| # keys to obfuscate
lastname|
hash|
password|
newpassword)
\s*</key[^>]*>\s* # closing tag </key>
<value[^>]*> # opening tag <value>
)
[^<>]+ # obfuscated value
(
</value[^>]*> # closing tag </value>
)
"""