the regEx escape charqacter for spaces in CF is [:space:].  So you would do:
<cfset st=REFindNoCase("[[:space:]]+",
qGet_MeetingMinutes.MM_BodyOfMeeting,1,"TRUE")>

To find "hard returns" I would look for CRLFs (carriage return/line feeds) by
doing:
FindNoCase("#char(13)##char(10)#", ...)  I'm not sure what the regular
expression equiv would be off the top of my head.

HTH,
David Huyck
[EMAIL PROTECTED]


| Here is a snippet of my current code.
|
| <cfset st=REFindNoCase("([ ])
| +(\1)",qGet_MeetingMinutes.MM_BodyOfMeeting,1,"TRUE")> (this line was my
| attempt at finding blank spaces longer then 1 space within the text string
| - it didnt work.)
| <cfset request.RowNum=(len(qGet_MeetingMinutes.MM_BodyOfMeeting)/66)+3>
|
| <textarea name="BodyOfMeetingMinutes" cols="66" rows="#request.RowNum#"
| wrap="soft">#trim(qGet_MeetingMinutes.MM_BodyOfMeeting)#</textarea>




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to