What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-10-15 01:23:03
regular expression flags
Besides the regular expressions, flags can also be used to help developers with pattern matching. /* matching a specific string */ regex = /sing/; // looks for the string between the forward slashes 9case-sensitive)… matches “sing”, &ld... Add solution -
Other 2021-09-06 06:12:03
Pattern Matcher
// This will match a sequence of 1 or more uppercase and lowercase English letters as well as spaces String myRegExString = "[a-zA-Z\\s]+"; // This is the string we will check to see if our regex matches: String myString = "The quick brown... Add solution