# 1 SyntaxError: invalid regular expression flag s

**URL:** <https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463>\
**Category:** freeCodeCamp Support\
**Created:** [February 20, 2021, 10:10pm UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463 "2021-02-20T22:10:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dondev.com](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/dondev.com/32/136162_2.png) [@dondev.com](https://forum.freecodecamp.org/u/dondev.com)\
**Post date:** [February 20, 2021, 10:10pm UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463/1 "2021-02-20T22:10:04Z")

</div>

I cannot progress, because this is the output from the bottom frame. I could not even get through the first lesson of `<h1>Hello World</h1>`. Concerning. 🙂

---

<div class="post-metadata">

**Author:** ![imadeosaretin](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/imadeosaretin/32/197534_2.png) [@imadeosaretin](https://forum.freecodecamp.org/u/imadeosaretin)\
**Post date:** [February 20, 2021, 10:56pm UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463/2 "2021-02-20T22:56:10Z")

</div>

Try giving more details about your issue so people can chip in and help

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [February 20, 2021, 11:55pm UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463/3 "2021-02-20T23:55:47Z")

</div>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (`</>`) to add backticks around text.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (’).

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [February 20, 2021, 11:57pm UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463/4 "2021-02-20T23:57:25Z")

</div>

Hi @dondev.com !

Welcome to the forum!

Usually that error message pops up if your browser is not up to date.  
Make sure you are suing that latest up to date version of your browser and the message should go away.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 22, 2021, 11:57am UTC](https://forum.freecodecamp.org/t/1-syntaxerror-invalid-regular-expression-flag-s/447463/5 "2021-08-22T11:57:29Z")

</div>

Closed on August 22, 2021, 11:57am UTC

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
