Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

quick question about regex 1

Status
Not open for further replies.

hendnov

Technical User
Feb 27, 2006
73
AU
Hi guys,

I've just been trying to search in vi about 12 digits number, what I've been doing is searching by
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]

I tried about d{12}, but it doesnt work.
Do you guys have any idea in regex to match 12 digits number ?

Cheers guys,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top