in reply to Looking for a regular expression for the following pattern.
So is it alway an underscore after 2 characters?
Otherwise this should do:
/^[a-z0-9_]+$/i
s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Looking for a regular expression for the following pattern.
by ikegami (Patriarch) on Mar 29, 2018 at 12:37 UTC | |
by Skeeve (Parson) on Mar 29, 2018 at 14:06 UTC | |
by Laurent_R (Canon) on Mar 29, 2018 at 16:03 UTC |
In Section
Seekers of Perl Wisdom