RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details Pattern Title
Expression
^(eth[0-9]$)|(^eth[0-9]:[1-9]$)
Description
regex to validate unix device names (linux). useful for scripts using ifconfig or stuff
Matches
eth0 | eth0:4 | eth4:9
Non-Matches
eth0: | eth0:0 | eth0:1d
Author Rating: The rating for this expression. Joey Brunner
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials