Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

regex char or char

//check if have "i" or "o"
/i|o/.test(var)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #regex #char #char
ADD COMMENT
Topic
Name
7+6 =