Posted by Defaultman on 09/29/05 14:48
Hi,
I have 2 issues concerning regex:
1) change a string of:
number\number\number to number/number/number
for example:
2\0 to 2/0
3\1\2 to 3/1/2
2) change a string of:
numbers to digit/digit/digit
for example:
321 to 3/2/1
18 to 1/8
Please help me with the PHP code, I have tried many hours and I
couldn't get it to work, thanks.
Navigation:
[Reply to this message]
|