Regex Exact Number of Characters -
how limit number of characters (alpha or numeric or anything)
example have (x can character)
name.xxx-xxx-xxxxxx-name name.xxxxxxx-name
i want exclude of first format , thought should like
name.{7}*-name
i want 7
characters between .
, -
you don't want 7 characters. want 7 non-dash characters
name\.[^-]{7}-name
Comments
Post a Comment