Openbullet : Problem to Display Data in REGEX Format

Hi All ,
My question is quite simple,
i wanna display thoses HTML Data in Openbullet Debugger using Regular expression

<td style="padding: 0px; font-size: 16px; line-height: 20px;"><strong>Data:&nbsp;</strong>DAVINCI CODE</td></tr>
<td style="padding: 0px; font-size: 16px; line-height: 20px; word-break: break-all;"><strong>Data:&nbsp;</strong>DAVINCI CODE: </td>

This is the code REGEX 1 i used :

"<td style="\padding:\" 0px; font-size: 16px; line-height: 20px;\"><strong>Data:&nbsp;</td></tr>",

This is REGEX CODE 2 i used :

"<td style="\padding\": 0px; font-size: 16px; line-height: 20px;\"><strong>Data:&nbsp;</strong>(.*?)</td></tr>",

I wanna display: “DAVINCI CODE” using regular expression

Thanks for every REGEX expert who can help me to fix this.

Antonio-77.

CSS or XPath would be easier I think since it was made for html sites.

But do you only want to cap when it is SUCCESS RESULT, because you can just type that as a regex match and it would work

or if you wanted SUCCESS RESULT + everything after - SUCCESS RESULT.+(?=<)

1 Like

Hi jrem ,
i will try to explain you the problem
We have this word " DAVINCI CODE " , and we wanna display on screen DAVINCI CODE

HTML example :

<td style="padding: 0px; font-size: 16px; line-height: 20px;"><strong>Data:&nbsp;</strong>DAVINCI CODE</td></tr>

i’ve tried 4/5 ways to display it and the result is WRONG

(?<=(Data\:\&nbsp\;\<\/strong\>)).+(?=<\/td)

The match1 is good, ignore the group1

Also as I said before CSS would be much easier for you
https://www.w3schools.com/cssref/css_selectors.asp