Why don't you just go

 

"([[:space:]]{2,}", "\1", "all"

 

From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf
Of Taco Fleur
Sent: Monday, 11 February 2008 3:43 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: removing extra spaces

 

Thanks, just thought the same, ended up with:

textString = reReplaceNoCase( textString, "(\t| ){2,100}", "", "all" );

 


-- 

Web Awards www.web-designers-australia.com
<http://www.web-designers-australia.com/>  
Looking for a business, product or service? Try the new Australian search
engine www.clickfind.com.au <http://www.clickfind.com.au/>  
blog: http://australian-search-engine.blogspot.com/  

 

 

blog: http://australian-search-engine.blogspot.com/ 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to