mozilla

Compare Revisions

Regular Expressions

Change Revisions

Revision 389475:

Revision 389475 by DarrinKoltow on

Revision 389477:

Revision 389477 by DarrinKoltow on

Title:
Regular Expressions
Regular Expressions
Slug:
JavaScript/Guide/Regular_Expressions
JavaScript/Guide/Regular_Expressions
Tags:
"Regular Expressions", "NeedsBrowserCompatibility", "JavaScript"
"Regular Expressions", "NeedsBrowserCompatibility", "JavaScript"
Content:

Revision 389475
Revision 389477
tt233            Matches exactly n occurrences of the preceding charac
 >ter. N must be a positive integer.<br>
233            <p>234            <br>
234              Where <code>n</code> is a positive integer. Matches
> exactly <code>n</code> occurrences of the preceding character. 
235            </p>
236            <p>
237              For example, <code>/a{2}/</code> doesn't match the 235            For example, <code>/a{2}/</code> doesn't match the 'a
>'a' in "candy," but it matches all of the a's in "caandy," and th>' in "candy," but it does match all of the a's in "caandy," and t
>e first two a's in "caaandy.">he first two a's in "caaandy."
238            </p>

Back to History