Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
`
(<text:p text:style-name="[A-Z0-9]+">AB4</text:p>)
`
i
Input 1
1
New
<table:table-row table:style-name="Tableau3.2"> <table:table-cell table:style-name="Tableau3.A2" office:value-type="string"> <text:p text:style-name="P32">AB1</text:p> </table:table-cell> <table:table-cell table:style-name="Tableau3.A2" office:value-type="string"> <text:p text:style-name="P21">AB2</text:p> </table:table-cell> <table:table-cell table:style-name="Tableau3.A2" office:value-type="string"> <text:p text:style-name="P21">AB3</text:p> </table:table-cell> <table:table-cell table:style-name="Tableau3.A2" office:value-type="string"> <text:p text:style-name="P21">AB4</text:p> </table:table-cell> <table:table-cell table:style-name="Tableau3.A2" office:value-type="string"> <text:p text:style-name="P21">AB5</text:p> </table:table-cell> <table:table-cell table:style-name="Tableau3.F2" office:value-type="string"> <text:p text:style-name="P21">AB6</text:p> </table:table-cell> </table:table-row>