regex for ascii

match any ascii character

lorem ipsum 說上難車中防水回大石在該是並 a - = ? / ~ ab 難 ഇത് മലയാളം Christmas

Matches any printable ascii character

The regular expression represents all printable ASCII characters.

ASCII code is the numerical representation of all the characters and the ASCII table extends from char NUL(Null) to DEL.

The printable characters extend from CODE 32 (SPACE) to CODE 126 (TILDE[~]).


Cheatsheet

expr usage
/[a-z]/ matches all lowercase letters (a to z)
iHateRegex
by geon