Regex101 : Use substitution to replace every occurrence of the word i with the word I

I’m on regex101 trying to do their quiz and I cant figure out how to solve this problem.

Use substitution to replace every occurrence of the word i with the word I (uppercase, I as in me). E.g.: i'm replacing it. am i not? -> I'm replacing it. am I not? . A regex match is replaced with the text in the Substitution field when using substitution.

Seems so simple. I tried re watching tutorials, redoing the whole fcc regex module and googling but I cant find any answers.

Thanks for any help!

What have you tried so far? How has it been behaving differently than you expect?

Finally figured it out it was

/\bi\b/g

Good job figuring it out. Happy coding!