Cleaned up snippet
Added properties
Added case sensitivity option
Updated documentation