Automatically replacing decimal tab character

I have a Writer document with hundreds of paragraphs (inside tables) that have decimal tab stops. The tab stops have a period as the decimal character. I need to replace period with comma in all numbers so that the numbers are still aligned at commas. For this I probably need to change the character of each decimal tab stop because if I simply replace a period with a comma inside a number in text, the alignment is lost. I have already changed the decimal character at Tools > Options > Language Settings > Languages > Decimal separator key to comma, but it does not affect the existing tab stops in the document. Is there a way to change the decimal character of all existing tab stops?

I did not find a fully automated way to do the replacement. A semiautomated would be to select the column in which you have the decimal points which you want to replace by comma. Then crtl + H > replace “.” by “,”. > replace all The replacements are only made in the selected column.

If you want it more automated, I feel you need a macro.

Thanks, but the problem is not to replace period by comma in the text. The problem is to change the decimal character associated with with tab stops, that is, in Format > Paragraph > Tabs > Character. I need to change the decimal character associated with each decimal tab in the document. If I don’t do this but simply replace periods with commas in the document text, the alignment will be lost.