Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR ELIXIR

elixir string regex

iex> String.match?("123", ~r/^[[:alnum:]]+$/)
true
iex> String.match?("123 456", ~r/^[[:alnum:][:blank:]]+$/)
true
Source by hexdocs.pm #
 
PREVIOUS NEXT
Tagged: #elixir #string #regex
ADD COMMENT
Topic
Name
9+6 =