grepl("^([[:alnum:]])+([;])", x="dj5sads;adsa")
Standard input is empty
[1] TRUE
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!