O'Reilly logo
  • Henry Huang thinks this is interesting:

/^\([0-9]{3}\) [0-9]{3}-[0-9]{4}$

From

Cover of The Linux Command Line

Note

Less support extend regex