Test, validate and match regular expressions
This regex matches the literal string 'ham' anywhere it appears within a larger text, including as part of other words like 'hamburger', 'hammer', or 'Graham'. It performs a simple substring search with no anchors, wildcards, or character classes, making it one of the most basic pattern types. Common use cases include searching food-related content, filtering product names, or testing basic regex functionality in JavaScript.