matchesFull
matchesFull()
Section titled “matchesFull()”Category: String
Returns true if the entire input string matches the given regex pattern
Signature
Section titled “Signature”- Return type:
boolean - Parameters:
patternstring— Regular expression pattern
Examples
Section titled “Examples”'Hello123'.matchesFull('[A-Za-z0-9]+')Patient.id.matchesFull('[a-f0-9-]+')