The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




Thread: regex
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 10-08-2008
anchal_khare anchal_khare is offline
Registered User
  
 

Join Date: Jun 2007
Location: Mumbai,India
Posts: 325
regex

hi frnds
i m having prb while matching a numerical num...

[0-9]+ is not working for me... ( ?? )

so i m achieving the criteria with [0-9]\{1,\} ( pl suggest if i m wrong )

nw the prb is.. i dont want to match the number with all zeros in it..
eg 00000 or 0000000 etc etc...

pl help..

Thanks..
Anchal.