> Thanks Adrian, No actually I am using Java Regex but I think they are alike.
> I want not to use any for loop
Why not?
Can you provide more context as to what you're actually doing? It
might enable a better answer.
You can do:
^\d for 1
^\d(\.\d){1} for 1.1
^\d(\.\d){2} for 1.1.2
^\d(\.\d){3} for 1.1.2.1
etc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive: http://www.houseoffusion.com/groups/regex/message.cfm/messageid:1193
Subscription: http://www.houseoffusion.com/groups/regex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.21