/de{1,3}f/ matches d, followed by one, two, or three occurrences of e, followed by f.
To specify an exact number of occurrences, include only one value between the { and the }.
/de{3}f/ specifies exactly three occurrences of e, which means this pattern only matches deeef.
Related examples in the same category