[[:Print:]] is any printable character, including punctuation. I assume
you meant this rather than just letters and numbers, when you said
"everything"? A-Za-z0-9 won't get spaces, commas etc.
If you're doing this in Studio it won't make any difference what version of
CF server we're talking about shurely?
how about this then:
Find:
-[[:Print:]]{0,}
Replace With:
-
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: RE: [ cf-dev ] annoying
regex issue
28/08/2003 12:04
Please respond to
dev
Doesn't work, I'm running in this CFstudio 5 - what does the [[:print:]]
do?
Does it work on CF5?
Kola
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]
>> Sent: 28 August 2003 11:56
>> To: [EMAIL PROTECTED]
>> Subject: Re: [ cf-dev ] annoying regex issue
>>
>>
>> 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]
--
** 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]