Compare Revisions

RegExp

Change Revisions

Revision 348119:

Revision 348119 by xk_id on

Revision 351005:

Revision 351005 by trupanka on

Title:
RegExp
RegExp
Slug:
JavaScript/Reference/Global_Objects/RegExp
JavaScript/Reference/Global_Objects/RegExp
Tags:
"JavaScript Reference", "NeedsMobileBrowserCompatibility", "Regular Expressions", "NeedsBrowserCompatibility"
"JavaScript Reference", "NeedsMobileBrowserCompatibility", "Regular Expressions", "NeedsBrowserCompatibility"
Content:

Revision 348119
Revision 351005
n685    <h3>n685    <h3 id="Other_notable_examples">
n688    <h5>n688    <h5 id="Extracting_subdomain_name_from_URL">
t693print([^.]+/.exec(url)[0].substr(7)); // prints "xxx"t693print(/[^.]+/.exec(url)[0].substr(7)); // prints "xxx"

Back to History