Home > Mobile >  Select and format text in table cells based on Regex criteria
Select and format text in table cells based on Regex criteria

Time:09-03

How do I loop through all the cells in a table, selecting text in each cell based on Regex criteria, and format those cells?

EDIT: I can set row attributes using table.getRow(n).getCell(n) but how do I format specific text in each cell?

I need to make the name appearing at the start of each cell bold:

enter image description here

Here's the enter image description here

To:

enter image description here

Rererences:

  • Related