PROTECTED]
Sent: Saturday, October 13, 2007 1:54 AM
To: CF-Talk
Subject: RE: How to write this regex?
What you have is basically what I assumed you would need but you
explained
it backwards :-)
However, now I have to use br whenever I want a carriage return.
That's what you need to do
I gave it a shot Claude!
Ha ha, good luck ! ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
Wow... pretty complicated... thanks, Bobby!
Rick
-Original Message-
From: Bobby Hartsfield [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 12:22 PM
To: CF-Talk
Subject: RE: How to write this regex?
I'm sure there is probably a better way... such as a simple regex
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 11, 2007 9:01 PM
To: CF-Talk
Subject: How to write this regex?
Hi, all.
I thought I could figure this out, but apparently
Wow... pretty complicated.
Ok, then try this:
CFSET myString='Some text here,b style=color:red; some text in
bold/b and some othetext at the end'
CF_REextract
INPUTMODE = variable
INPUT = myString
RE1 = ^||
RE2 = ||$
OUTPUTMODE = query
Not the end result.. the end result is just...
#noBreak(str)#
:-)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
~|
Get involved in the latest ColdFusion discussions, product
development
Thanks, Claude! I'll check it out!
Rick
-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 3:10 PM
To: CF-Talk
Subject: Re: How to write this regex?
Wow... pretty complicated.
Ok, then try this:
CFSET myString='Some text here
to write this regex?
Not the end result.. the end result is just...
#noBreak(str)#
:-)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
~|
Enterprise web applications, build robust
(str, br /, #chr(13)##chr(10)#, all)
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Friday, October 12, 2007 7:17 PM
To: CF-Talk
Subject: RE: How to write this regex?
Ok, Bobby
, 2007 11:19 PM
To: CF-Talk
Subject: RE: How to write this regex?
Well for display, you would have to use a BR for a line break anyway...
unless its wrapped in pre tags...
If you still need to... you could just replace #chr(13)##chr(10)# with
br
/ beforehand then put them back afterwards
it with br / like you are
doing now :-)
Cheers
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 13, 2007 12:12 AM
To: CF-Talk
Subject: RE: How to write this regex?
I ended up
Hi, all.
I thought I could figure this out, but apparently not. at least so far.
But how would I write a regex that would find all spaces
and change them to nbsp; except those inside a or ?
REreplace(string, all spaces not in between and , nbsp;, All)
And I'd rather not have an unbreakable
12 matches
Mail list logo