|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Replace ] with spaceHello to everyone,
I have a string as follows [somethings1] somethings2] and I have to eliminate the ] after somethings1 so in order to obtain this [somethings1 somtehings2] Thanks for your help.... and excuse for my bad English... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1141 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21 |
|
|
Re: Replace ] with spaceHi Orso,
can do some thing like this <cfset str= "[somethings1] somethings2]" /> <cfset str = REReplaceNoCase(str,"[0-9]]","","ALL")& "]"> Thanks Srinivas ** On 5/29/08, Orso Bubu <forconia@...> wrote: > > Hello to everyone, > > I have a string as follows > > [somethings1] somethings2] > > and I have to eliminate the ] after somethings1 so in order to obtain this > > [somethings1 somtehings2] > > Thanks for your help.... and excuse for my bad English... > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1142 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21 |
|
|
Re: Replace ] with spacesorry,try this..
<cfset str= "[somethings1] somethings2]" /> <cfset str = REReplaceNoCase(str,"]","","ALL")& "]"> Thanks Srinivas On 5/29/08, Ganta Srinivasa Rao <srganta@...> wrote: > > Hi Orso, > > can do some thing like this > > <cfset str= "[somethings1] somethings2]" /> > > <cfset str = REReplaceNoCase(str,"[0-9]]","","ALL")& "]"> > > Thanks > Srinivas > > ** > > > > On 5/29/08, Orso Bubu <forconia@...> wrote: >> >> Hello to everyone, >> >> I have a string as follows >> >> [somethings1] somethings2] >> >> and I have to eliminate the ] after somethings1 so in order to obtain this >> >> [somethings1 somtehings2] >> >> Thanks for your help.... and excuse for my bad English... >> >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1143 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21 |
|
|
Re: Replace ] with spaceThanks Srinivas for your help
I use the platform. NET, you can implement this for .NET? 2008/5/29, Ganta Srinivasa Rao <srganta@...>: > sorry,try this.. > <cfset str= "[somethings1] somethings2]" /> > > <cfset str = REReplaceNoCase(str,"]","","ALL")& "]"> > > Thanks > Srinivas > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1144 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21 |
|
|
Re: Replace ] with spaceyou can try this
str= Regex.Replace(str,"]","") str= str & "]" On 5/29/08, Alessio Forconi <forconia@...> wrote: > > Thanks Srinivas for your help > > I use the platform. NET, you can implement this for .NET? > > 2008/5/29, Ganta Srinivasa Rao <srganta@...>: > > sorry,try this.. > > <cfset str= "[somethings1] somethings2]" /> > > > > <cfset str = REReplaceNoCase(str,"]","","ALL")& "]"> > > > > Thanks > > Srinivas > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/RegEx/message.cfm/messageid:1145 Subscription: http://www.houseoffusion.com/groups/RegEx/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user837.14401.21 |
| Free embeddable forum powered by Nabble | Forum Help |