how to replace all special characters except underscore and period in php?

how to replace all special characters except underscore and period in php?

[et_pb_section admin_label="section"] [et_pb_row admin_label="row"] [et_pb_column type="4_4"][et_pb_text admin_label="Text"]how to replace all special characters except underscore and period in PHP? <?php $string="a…

7 years ago