Remove Commas From A String – str_replace()
If you find that you have a string containing commas and need to remove them, you can do the following. This comes up a lot when you are cleaning up CSV values, normalizing phone numbers, or turning a list of IDs into a format that can be used in a database query or API call.…

