I have strings that look like the following:
- 3/2 Johns St
- 3,2 Johns St
- 3 2 Johns St
I want to replace any occurance of /
, ,
and with a
\
when they appear in between 2 numbers.
So the above would all end up looking like 3\2 Johns St
.
What is the easiest way to do this with PHP?