About 237,000 results
Open links in new tab
  1. Build a Markdown to HTML Converter - The freeCodeCamp Forum

    May 19, 2025 · What your convertMarkdown function returns? There’s also another detail about convertMarkdown that’s relevant here. How does it get the input to convert? On what that depends?

  2. Learn Regular Expressions by Building a Spam Filter - Step 12

    May 14, 2025 · Inside some parentheses: parameter1 => parameter1.method2 (parameter2)); Your .some () callback should take regex as the parameter. parameter1 = regex Your .some () callback …

  3. Explain the uses of caret (^) in regex - The freeCodeCamp Forum

    Aug 28, 2018 · For example: /^([aeiouy])(.)/ indicates a string starting with a single vowel (the first capture group is a single vowel), followed by any single character (the second capture group is any …

  4. Replacement strings with dollar signs - The freeCodeCamp Forum

    May 8, 2020 · The dollar sign $ in regex means the end or the beginning of a string. So it means to stop when the $ is in the end or to start from a particular letter if the $ is on the front.

  5. Regex to match string containing two words in any order

    Dec 16, 2019 · Regex to match string containing two words in any order JackEdwardLyons December 16, 2019, 10:05pm 1

  6. Using '?' in Regular Expressions - The freeCodeCamp Forum

    Jan 1, 2023 · Hi everyone, I am a bit confused when it comes to using ‘?’ in Regex syntax. My understanding is that ‘?’ is used in lazy matching as well as checking for zero or one of the preceding …

  7. Learn Form Validation by Building a Calorie Counter - Step 24

    Dec 21, 2024 · Hi. Values are passed into the function by parameters, str is a parameter. It’s a type of variable. The value that will be represented by str will be passed into the function. Perform the …

  8. Matching a list of regex to every string in a list one by one

    Nov 2, 2022 · I have a list of strings and a list of regex patterns. What I want to achieve is that for every string in the list, I want to try matching the patterns found in the regex list that I have created.

  9. Difference between /\w/ and /\w+/ ( Regex )? - JavaScript - The ...

    Feb 11, 2020 · Tell us what’s happening: Can someone tell me the difference between /\w/ and /\w+/ ? the “+” operator in regex is used for identifying repeating characters I am confused by the usage in …

  10. Build a RegEx Sandbox - JavaScript - The freeCodeCamp Forum

    Aug 18, 2025 · Ok, so I’ve tried this a few ways and I’m a bit stuck. Replacing a regex matched text in a string is a breeze when it’s just one match. But when it’s several matches, it gets tricky. I’m not sure …