<pattern>.test(<string>) Returns true or false whether <string> matches <pattern>.

<string>.match(<RegExp>) Matches a string with a regular expression, and returns an array containing the results of that search.

<string>.replace(<pattern>,<replacementString>) Search <string> for <pattern>, and replace all instances of <pattern> with <replacementString>.

<string>.search(<pattern>) Search for a match fo <pattern> within <string>, and return the position of the match.

Facts, Thoughts and Opinions


  •   Subtopics

  •   Writings

  Sources & Bookmarks