1 2 Previous Next 17 Replies Latest reply on Dec 30, 2008 3:41 PM by 807589

    how do I make whitespace optional in a regular expression?

      I want to match "this is a test" regardless of how many spaces (or tabs and newlines) it has between all the words. I am not sure if I am doing it right though..This is what I have
      this (\s*)?is (\s*)?a (\s*)?test
        1 2 Previous Next