hi
i want to display only elements of array tht start with a number can i do that using egrep"

Start your regex with ^\d

thank you for replay
but i could not understand could you explain more???

What did you not understand? The regex is as follows:

^ start of string
\d a digit
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.