JavaScript String Regular Expressions – Part 1 Introduction This is part 1 of my series, JavaScript String Regular Expressions. Consider the string, “This is a man”. Assume that you do not know the content of the string; the string might have been typed by the user and the JavaScript code has assigned it to a variable. You may have the following two questions: 1) Does the sting have the word, “man”? 2) <br />If the string has the word, “man”, can you change it to “woman”. There are many other... Sign in to see full entry.