About 638,000 results
Open links in new tab
  1. javascript - Search for a string name inside object with spaces

    May 18, 2019 · Search inside an array of objects under an object property for a string assistance in JavaScript

  2. JavaScript – Check If a String Contains any ... - GeeksforGeeks

    Nov 26, 2024 · Here are the various methods to check if a string contains any whitespace characters using JavaScript. 1. Using Regular Expressions. The most common and effective …

  3. JavaScript RegExp \s Metacharacter - W3Schools

    let text = "Is this all there is?"; The \s metacharacter matches whitespace character. Whitespace characters can be: /\s/ is an ECMAScript1 (JavaScript 1997) feature. It is supported in all …

  4. Regular expression syntax cheat sheet - JavaScript | MDN - MDN Web Docs

    Oct 28, 2024 · White space character class escape: Matches a single white space character, including space, tab, form feed, line feed, and other Unicode spaces. Equivalent to …

  5. JavaScript regex space character - EyeHunts

    Jun 13, 2023 · In JavaScript, you can use regular expressions (regex) to work with space characters. The space character itself can be represented in regex using the \s metacharacter. …

  6. javascript - Search function to include space - Stack Overflow

    Jun 3, 2020 · The code below allows me to search through table rows. Results are presented when there is a 1:1 match (Ignoring case). I would like to search using combinations separated …

  7. JavaScript search - Tutorial Gateway

    The JavaScript search method is useful for finding and returning the index position of the first occurrence of a specified string in a regular expression. It will return -1 if the defined string is …

  8. How to Use `indexOf` to Find Spaces in a String in JavaScript?

    Learn how to use the indexOf method in JavaScript to find spaces within a string, along with examples and common pitfalls.

  9. Regular expressions - JavaScript | MDN - MDN Web Docs

    Jan 24, 2025 · These patterns are used with the exec() and test() methods of RegExp, and with the match(), matchAll(), replace(), replaceAll(), search(), and split() methods of String. This …

  10. JavaScript RegExp \s Metacharacter - GeeksforGeeks

    Dec 6, 2024 · The \s metacharacter in JavaScript regular expressions matches any whitespace character. This includes spaces, tabs, form feeds, line breaks, and other whitespace …

  11. Some results have been removed
Refresh