On Tue, Dec 14, 2010 at 7:42 PM, Raja Mahalingam <[email protected]> wrote:
> perl condition  for checking whether in a given string (URL)  starts with a
> certain collection of characters ...

man perlre

Do your homework before you post!


> say ex :  true for all hostname starts with a-f  ...false for others ...
>
>                 true for www.[a-f]*.com  ..... false for www.[g-z]*.com

/^www\.[a-f]/

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to