Re: [PHP] any string function to...

2002-09-23 Thread Oscar F
Taylor, You can use: quotemeta($string) for . \\ + * ? [ ^ ] ( $ ). hth. Oscar F.- Taylor York wrote: >Is there any string function to put backslashes on any characters that are >used in regular expressions? IE ()[];.^*$ etc. > > >Thank you, >Taylor > > > -- PHP General Mailing List (http:

[PHP] any string function to...

2002-09-23 Thread Taylor York
Is there any string function to put backslashes on any characters that are used in regular expressions? IE ()[];.^*$ etc. Thank you, Taylor -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php