edited sample code in README.md
added regexp sample code in README.md