At 05:15 PM 1/13/06, Anthony Best wrote:
On 1/12/06, Frank Bax <[EMAIL PROTECTED]> wrote:
>
> reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in
> dollar-alpha-space-space-plus-digits-dollar */
> $Fencing +11$Lumber +17$Weight: 317 Stones$Energy Resist 2%$
Try:
preg_replace( '/ (\d
On 1/12/06, Frank Bax <[EMAIL PROTECTED]> wrote:
>
> reg_replace( ' (\d+\$)', '+$0', $prop ); /* results in
> dollar-alpha-space-space-plus-digits-dollar */
> $Fencing +11$Lumber +17$Weight: 317 Stones$Energy Resist 2%$
Try:
preg_replace( '/ (\d+\$)/', '+$1', $prop );
--
Anthony Best
2 matches
Mail list logo