REReplace(yourstring, "-[[:Print:]]{0,}", "-", "ALL")   ?


Duncan Cumming
IT Manager

http://www.alienationdesign.co.uk
mailto:[EMAIL PROTECTED]
Tel: 0141 575 9700
Fax: 0141 575 9600

Creative solutions in a technical world

----------------------------------------------------------------------
Get your domain names online from:
http://www.alienationdomains.co.uk
Reseller options available!
----------------------------------------------------------------------
----------------------------------------------------------------------


                                                                                       
                                   
                    "Kola Oyedeji"                                                     
                                   
                    <[EMAIL PROTECTED]        To:     <[EMAIL PROTECTED]>              
                       
                    yalty.com>                  cc:                                    
                                   
                                                Subject:     [ cf-dev ] annoying regex 
issue                              
                    28/08/2003 11:51                                                   
                                   
                    Please respond to                                                  
                                   
                    dev                                                                
                                   
                                                                                       
                                   
                                                                                       
                                   




Okay

I'm trying to create a regex to do the simple task of replacing
everything after a - annoyingly none of the following works:-

-(.)*

-[ a-zA-Z_0-9]*

Am I missing something obvious here?

Thanks

Kola


--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]






-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to