<?php

echo str_replace(['R$','.',','],['','','.'], 'R$1.500,99');