JavaScript Regular Expressions: ? Repetition Character

By: Dusty Arlia
Published on Tuesday, October 22, 2013, 07:18 AM
Last Updated on Tuesday, July 14, 2015 at 4:05 PM
Total Updates: 2

The ? repetition character matches zero or one occurrences of the previous item. This means that the previous item is optional. This character is the same as {1,}.