Cristian Lavaque wrote:
> Jonas_weber @ Gmx . Ch wrote:
>> regular expressions
>> the example below should turn any character exept "\*" (*= any char)
>> into an "x":
>>
>> $term = preg_replace('/[^(\\\)+(.){1}]/', 'x', $term);
>>
>> but i guess because of the [brackets] the "." (period) is treated
Jonas_weber @ Gmx . Ch wrote:
> regular expressions
> the example below should turn any character exept "\*" (*= any char)
> into an "x":
>
> $term = preg_replace('/[^(\\\)+(.){1}]/', 'x', $term);
>
> but i guess because of the [brackets] the "." (period) is treated as
> character "." instead as me
2 matches
Mail list logo