Ade,

No, 10.24 is ok and the period should stay. The only time the period should be 
removed is when it does not appear between 2 numbers. These are examples of 
where the period should stay:

5.5
50.50
5.50
50.5
a5.6
5.6a

But the following should be removed:

a.1
1.a
a.a

Anything beyong the immediate characters around the period are not important. 

Thanks,
Cedric

>What about 10.24? Would that have the full stop(period) removed?
>
>Ade
>
>-----Original Message-----
>From: Cedric Villat [mailto:[EMAIL PROTECTED]
>Sent: 21 February 2005 01:15
>To: CF-Talk
>Subject: RegEx help
>
>
>I'm trying to create a regex that does the following, with little luck so
>far.
>
>I want to remove all periods ( . ) that do not appear between 2 numbers. For
>instance, I would want to keep this period:
>
>5.5
>
>But not these:
>
>www.domain.com
>
>I want the periods to be replaces with a space in the second example.
>Anyone?
>
>Cheers,
>Cedric
>--
>No virus found in this outgoing message.
>Checked by AVG Anti-Virus.
>Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18/02/2005

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195759
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to