Try it out on these example inputs:

back to RegexSwap.

linux/unix network devices

Regular expression:

^eth[0-9]+$

Categories:

Popularity:

You need to be logged in to cast votes on regexes.

Good
0
Bad
0

Author description and comments (0)

Topic by
kasper

2009-01-22
22:50

Description

Very simple expression for validating ethX devices, such as eth0 or eth1.

You need to be logged in to participate

In order to post your own comments on this regex, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen