House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Regular Expressions (RegEx)

Replace ] with space

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello to everyone,
Orso Bubu
05/29/08 05:45 A
Hi Orso,
Ganta Srinivasa Rao
05/29/08 06:39 A
sorry,try this..
Ganta Srinivasa Rao
05/29/08 06:42 A
Thanks Srinivas for your help
Alessio Forconi
05/29/08 06:52 A
you can try this
Ganta Srinivasa Rao
05/29/08 09:01 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Orso Bubu
05/29/2008 05:45 AM

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...

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ganta Srinivasa Rao
05/29/2008 06:39 AM

Hi Orso, can do some thing like this <cfset str= "[somethings1] somethings2]" /> <cfset str = REReplaceNoCase(str,"[0-9]]","","ALL")& "]"> Thanks Srinivas ** ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ganta Srinivasa Rao
05/29/2008 06:42 AM

sorry,try this.. <cfset str= "[somethings1] somethings2]" /> <cfset str = REReplaceNoCase(str,"]","","ALL")& "]"> Thanks Srinivas ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Alessio Forconi
05/29/2008 06:52 AM

Thanks Srinivas for your help I use the platform. NET, you can implement this for .NET? 2008/5/29, Ganta Srinivasa Rao <srganta@gmail.com>: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ganta Srinivasa Rao
05/29/2008 09:01 AM

you can try this str= Regex.Replace(str,"]","") str= str & "]" ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search regex

May 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference