What is the command to replace blocks in Minecraft PE?

Say I want to replace my grass blocks with quartz, I have tried so many commands but none seem to work!


Solution 1:

The command is a run off of the /fill command. You would type /fill (x)(y)(z)(x)(y)(z) quartz_block 1 replace grass. Mind the fill limit.