Regular Expressions 101

Save & Share

  • Regex Version: ver. 2
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
ig

Test String

Code Generator

Generated Code

import java.util.regex.Matcher; import java.util.regex.Pattern; public class Example { public static void main(String[] args) { final String regex = "([a-z\\-_0-9\\/\\:\\.]*\\.(jpg|jpeg|png))"; final String string = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n\n\n\n\n" + "<html xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:og=\"http://opengraphprotocol.org/schema/\" xmlns:fb=\"http://www.facebook.com/2008/fbml\" class=\"no-js\">\n" + " <head>\n" + " \n\n" + "<script type=\"text/javascript\">\n" + "var Arcadia = Arcadia || {};\n" + "Arcadia.Page = Arcadia.Page || {};\n" + "Arcadia.Page = {\n" + " catalogId:\"33057\",storeId:\"12556\" \n" + "};\n" + "</script>\n\n" + "<link rel=\"canonical\" href=\"http://www.topshop.com\" />\n\n" + "<!-- Added for SEO start --><!-- Added for SEO end -->\n" + " <title>Topshop - Womens Clothing - Womens Fashion - Topshop</title>\n" + " \n" + " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n" + " \n" + " <meta name=\"description\" content=\"The latest Autumn/Winter trends are at Topshop. Shop from our range of dresses, tops, coats, jumpers, jeans, make-up and more. Collect From Store delivery for just £2.\" />\n" + " \n" + " <meta name=\"keywords\" content=\"womens clothing, fashion, womens fashion, womens clothes, kate moss, kate moss collection, topshop, topshop.com\" />\n" + " \n\n" + "<script type=\"text/javascript\">document.getElementsByTagName('html')[0].className = 'js';</script>\n\n\n" + "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/css/screen.css\" />\n" + "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/css/print.css\" media=\"print\"/>\n\n" + "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/css/brand.css\" />\n\n" + "<!--[if lt IE 8]><link rel=\"stylesheet\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/css/ie.css\" type=\"text/css\" media=\"screen, projection\"><![endif]-->\n\n" + "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n" + "<meta name=\"viewport\" content=\"width=1024\" />\n" + "<meta name=\"apple-itunes-app\" content=\"app-id=501977489, affiliate-data=myAffiliateData, app-argument=myURL\" />\n\n" + "<!-- Start QuBit Tag -->\n" + "<script src=//d3c3cq33003psk.cloudfront.net/opentag-31935-42598.js type=text/javascript ></script>\n" + "<!-- End QuBit Tag -->\n" + " <link type=\"text/css\" rel=\"stylesheet\" href=\"http://reviews.topshop.com/static/6025-en_gb/bazaarvoice.css\" />\n" + " \n\n" + " </head>\n" + " \n" + " \n" + " <body id=\"cmd_topcategoriesdisplay\" >\n" + " \n\n" + "<script type=\"text/javascript\"> \n" + "var shoppingBasketURL=\"OrderCalculate?langId=-1&storeId=12556&catalogId=33057&updatePrices=1&calculationUsageId=-1&calculationUsageId=-2&calculationUsageId=-7&URL=OrderItemDisplay\";\n" + "</script> \n\n\n" + " <a id=\"page_top\"></a>\n" + " \n" + " <!-- SiteCatalyst code version: H.26.1 Copyright 1997-2013 Omniture, Inc. More info available at http://www.omniture.com --> \n" + " <script type=\"text/javascript\">var s_account=\"arcadiats\"</script>\n" + " <script type=\"text/javascript\" src=\"/javascript/s_code.js\"></script>\n" + " <div id=\"rs_alert\"><div class=\"container\"><div class=\"sp_23\"><span id=\"rs_alert_message\">Please choose your shipping destination</span> <p id=\"rs_alert_links\"> | <a href=\"#\" class=\"rs_link\">Change country</a></p></div><div id=\"rs_alert_close_container\" class=\"sp_2 last\"><a id=\"rs_alert_close_link\" href=\"#\">Close X</a></div></div></div>\n" + " <img class=\"geopixel\" src=\"http://www.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://us.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://de.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://fr.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://eu.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://sg.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://my.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://th.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <img class=\"geopixel\" src=\"http://id.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/trans_pixel.gif?ctry=United States&iso=US&host=www.topshop.com&lang=en\" />\n" + " \n" + " <div id=\"wrapper_outer\" class=\"container cf\">\n" + " \n" + " \n" + " <ul id=\"nav_accessibility\" class=\"menu_nav_ver\">\n" + " <li><a accesskey=\"c\" rel=\"noindex,nofollow\" href=\"#wrapper_content\">Jump to main content (accesskey c)</a></li>\n" + " <li><a accesskey=\"n\" rel=\"noindex,nofollow\" href=\"#nav_catalog_menu\">Jump to primary navigation (accesskey n)</a></li>\n" + " <li><a accesskey=\"s\" rel=\"noindex,nofollow\" href=\"#wrapper_content\">Skip navigation (accesskey s)</a></li>\n" + " </ul>\n" + " \n" + " \n" + " \n" + " <div id=\"wrapper_header\" class=\"sp_25\">\n" + " \n" + " \n" + " \n" + " <a id=\"store_logo\" href=\"/\" accesskey=\"1\" title=\"Topshop Homepage\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/logo.gif\" alt=\"Topshop Homepage\" /></a>\n" + " \n" + " <!-- RFS416 SCHWAY --> \n" + " \n" + "<div id=\"wrapper_nav_utilities\">\n" + " \n" + " <ul class=\"menu_inline\">\n" + " <li id=\"loginControl\">Welcome to Topshop, <a href=\"http://www.topshop.com/webapp/wcs/stores/servlet/LogonForm?storeId=12556&amp;catalogId=33057\" title=\"Login\">Sign in or register</a></li>\n" + " <!-- <li><a href=\"http://www.topshop.com/webapp/wcs/stores/servlet/LogonForm?storeId=12556&amp;catalogId=33057\" title=\"My Account\">My Account</a></li> -->\n" + " <li id=\"region_select\">Shipping to <a href=\"#\" class=\"rs_link\">United States</a> (&pound;)</li>\n" + " <!--<li><a href=\"http://www.topshop.com/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?catalogId=33057&storeId=12556&langId=-1&viewAllFlag=false&categoryId=277544&interstitial=true&TS=1302084478900&intcmpid=W_TOP_NAV_WK39_HP_UK_HELP\" title=\"Help\">Help</a></li>\n" + " <li><a href=\"http://www.topshop.com/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?catalogId=33057&storeId=12556&langId=-1&viewAllFlag=false&categoryId=528992&interstitial=true&TS=1337337683687\" title=\"Privacy &amp; Cookies\">Cookies</a></li>-->\n" + "</ul>\n\n" + "</div>\n\n" + "<!-- Start - JSP File Name: MiniShopCartDisplay.jsp -->\n" + " <div id=\"wrapper_basket_summary\">\n" + " <a href=\"http://www.topshop.com/webapp/wcs/stores/servlet/OrderCalculate?langId=-1&amp;storeId=12556&amp;catalogId=33057&amp;updatePrices=1&amp;calculationUsageId=-1&amp;calculationUsageId=-2&amp;calculationUsageId=-7&amp;orderId=.&amp;URL=OrderItemDisplay\" title=\"View shopping bag and check out\">\n" + " <span id=\"my_bag_icon\">My Bag:</span> <span id=\"header_basket_items\">0 item(s)</span>: <span id=\"header_basket_value\">&pound;0.00</span>\n" + " </a>\n" + " \n" + " </div>\n" + " \n" + " <form name=\"CatalogSearchForm\" id=\"form_search\" class=\"form_inline form_row\" action=\"http://www.topshop.com/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd\" method=\"get\">\n" + " <!-- required parameters for any search type -->\n" + " <input type=\"hidden\" name=\"langId\" value=\"-1\" id=\"langId\" />\n" + " <input type=\"hidden\" name=\"storeId\" value=\"12556\" id=\"storeId\" />\n" + " <input type=\"hidden\" name=\"catalogId\" value=\"33057\" id=\"catalogId\" />\n" + " <input type=\"hidden\" name=\"beginIndex\" value=\"1\" id=\"SearchBeginIndex\" />\n" + " <input type=\"hidden\" name=\"viewAllFlag\" value=\"false\" id=\"SearchViewAllFlag\" />\n" + " <input type=\"hidden\" name=\"pageSize\" value=\"20\" id=\"pageSize\" />\n" + " <!-- required parameters for any search type --><!-- required parameters for commerce search -->\n" + " <input type=\"hidden\" name=\"searchTermScope\" value=\"3\" id=\"searchTermScope\" />\n" + " <input type=\"hidden\" name=\"searchTermOperator\" value=\"LIKE\" id=\"searchTermOperator\" />\n" + " <input type=\"hidden\" name=\"searchType\" value=\"ALL\" id=\"searchWithAND\"/> \n" + " <!-- required parameters for commerce search --><!-- required parameters for mercado search -->\n" + " <input type=\"hidden\" name=\"sort_field\" value=\"Relevance\" id=\"sort_field\" />\n" + " <!-- required parameters for mercado search -->\n" + " \n" + " <fieldset>\n" + " <legend>Search</legend>\n" + " <dl class=\"cf\">\n" + " \n" + " <dt><label for=\"inp_search_text\" accesskey=\"2\">Search</label></dt>\n" + " <dd class=\"field\"><input size=\"15\" maxlength=\"254\" name=\"searchTerm\" id=\"inp_search_text\" type=\"text\" value=\"Search\" /></dd>\n" + " <dd class=\"submit\"><input type=\"image\" id=\"btn_search_go\" value=\"Go\" src=\"/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/v3/btn_search_go.gif\" alt=\"Go\" title=\"Go\"/></dd>\n" + " </dl>\n" + " </fieldset>\n" + " \n" + " </form>\n" + " \n" + " \n" + " <div id=\"wrapper_header_content\">\n" + " \n" + " </div>\n" + " \n" + " <!-- GN_CachedTopLevelCategoryMap.jsp 09.30-2 --><!--\n" + " Date/Time: February 18, 2014 12:11:34 AM GMT\n" + " System Property:live_arcwcs_030.04\n" + "-->\n" + "<!--\n" + "-->\n\n" + "<ul id=\"nav_catalog_menu\" class=\"menu_nav_hor cf sp_25 clear\">\n" + "<li class=\"category_208491\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/home\" title=\"New In\">New In</a>\n" + "<div class=\"dropdown columns_2\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_277012\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/new-in-this-week-493\" title=\"New In This Week\">New In This Week</a></li><li class=\"category_208520\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/back-in-stock-439\" title=\"Back In Stock\">Back In Stock</a></li><li class=\"category_260484\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/edited-489\" title=\"Edited\">Edited</a></li><li class=\"category_1558068\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/style-steals-2631841\" title=\"Style Steals\">Style Steals</a></li><li class=\"category_1409518\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/tartan-2465260\" title=\"Tartan\">Tartan</a></li><li class=\"category_1484636\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/jewel-personality-2467403\" title=\"Jewel Personality\">Jewel Personality</a></li><li class=\"category_1549495\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/gingham-is-in-2614955\" title=\"Gingham Is In\">Gingham Is In</a></li><li class=\"category_1534039\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/denim-lightens-up-2578734\" title=\"Denim Lightens Up \">Denim Lightens Up </a></li><li class=\"category_1549505\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/printed-tee-party-2614983\" title=\"Printed Tee Party\">Printed Tee Party</a></li><li class=\"category_1558045\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/make-it-in-monochrome-2631674\" title=\"Make It In Monochrome\">Make It In Monochrome</a></li><li class=\"category_1562997\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/boilersuits-2642866\" title=\"Boilersuits\">Boilersuits</a></li><li class=\"category_1558056\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/lightweight-coats-2631693\" title=\"Lightweight Coats\">Lightweight Coats</a></li>\n" + "</ul>\n" + "<ul class=\"column_2\">\n" + "<li class=\"category_1478005\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/tall-2451499\" title=\"Tall\">Tall</a></li><li class=\"category_1478006\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/petite-2451529\" title=\"Petite\">Petite</a></li><li class=\"category_1478007\"><a href=\"http://www.topshop.com/en/tsuk/category/new-in-this-week-2169932/maternity-mini-2451552\" title=\"Maternity &amp; Mini\">Maternity &amp; Mini</a></li>\n" + "</ul></div></li><li class=\"category_203984\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/home\" title=\"Clothing\">Clothing</a>\n" + "<div class=\"dropdown columns_3\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_208523\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/dresses-442\" title=\"Dresses\">Dresses</a></li><li class=\"category_208524\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/tops-443\" title=\"Tops\">Tops</a></li><li class=\"category_208525\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/knitwear-444\" title=\"Knitwear\">Knitwear</a></li><li class=\"category_208526\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/jackets-coats-2390889\" title=\"Jackets &amp; Coats\">Jackets &amp; Coats</a></li><li class=\"category_525523\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/denim-897\" title=\"Denim\">Denim</a></li><li class=\"category_208527\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/jeans-446\" title=\"Jeans\">Jeans</a></li><li class=\"category_208528\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/trousers-447\" title=\"Trousers\">Trousers</a></li><li class=\"category_928188\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/leggings-1100\" title=\"Leggings\">Leggings</a></li><li class=\"category_208529\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/shorts-448\" title=\"Shorts\">Shorts</a></li><li class=\"category_208530\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/skirts-449\" title=\"Skirts\">Skirts</a></li><li class=\"category_423012\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/suits-and-co-ords-840\" title=\"Suits and Co-ords\">Suits and Co-ords</a></li><li class=\"category_208531\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/playsuits-jumpsuits-2159081\" title=\"Playsuits &amp; Jumpsuits\">Playsuits &amp; Jumpsuits</a></li><li class=\"category_208532\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/tights-socks-451\" title=\"Tights &amp; Socks\">Tights &amp; Socks</a></li><li class=\"category_208533\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/lingerie-2313836\" title=\"Lingerie \">Lingerie </a></li><li class=\"category_1394153\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/nightwear-2313149\" title=\"Nightwear\">Nightwear</a></li><li class=\"category_208534\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/swimwear-453\" title=\"Swimwear\">Swimwear</a></li><li class=\"category_1484534\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/sno-2458043\" title=\"Sno\">Sno</a></li>\n" + "</ul>\n" + "<ul class=\"column_2\">\n" + "<li class=\"category_208521\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/boutique-440\" title=\"Boutique\">Boutique</a></li><li class=\"category_1584019\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/unique-2666733\" title=\"Unique\">Unique</a></li><li class=\"category_208522\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/unique-resort-2666751\" title=\"Unique Resort\">Unique Resort</a></li><li class=\"category_208535\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/tall-454\" title=\"Tall\">Tall</a></li><li class=\"category_208536\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/petite-455\" title=\"Petite\">Petite</a></li><li class=\"category_208537\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/maternity-456\" title=\"Maternity\">Maternity</a></li><li class=\"category_208538\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/mini-457\" title=\"Mini\">Mini</a></li><li class=\"category_820009\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/clothing-brands-1910272\" title=\"Clothing Brands\">Clothing Brands</a></li><li class=\"category_1438013\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/brands-a-z-2368857/home\" title=\"Brands A-Z\">Brands A-Z</a></li>\n" + "</ul>\n" + "<ul class=\"column_3\">\n" + "<li class=\"category_820409\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/limited-edition-dresses-co-ords-2502258\" title=\"Limited Edition Dresses &amp; Co-ords\">Limited Edition Dresses &amp; Co-ords</a></li><li class=\"category_900506\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/modern-tailoring-1736665\" title=\"Modern Tailoring\">Modern Tailoring</a></li><li class=\"category_777023\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/going-out-938\" title=\"Going Out\">Going Out</a></li><li class=\"category_1471808\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/style-steals-2446703\" title=\"Style Steals\">Style Steals</a></li><li class=\"category_777068\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/hotshop-946\" title=\"Hotshop\">Hotshop</a></li><li class=\"category_1154006\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/fashion-targets-breast-cancer-1907521\" title=\"Fashion Targets Breast Cancer\">Fashion Targets Breast Cancer</a></li><li class=\"category_1250498\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/key-to-freedom-2118847\" title=\"Key To Freedom\">Key To Freedom</a></li><li class=\"category_874372\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/sno-1023\" title=\"Sno\">Sno</a></li><li class=\"category_1556513\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/loungewear-2624035\" title=\"Loungewear\">Loungewear</a></li><li class=\"category_1589512\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/the-new-monochrome-2674558\" title=\"The New Monochrome\">The New Monochrome</a></li><li class=\"category_1254542\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/kiss-me-margate-2607733\" title=\"Kiss Me Margate\">Kiss Me Margate</a></li><li class=\"category_1040662\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/skate-away-2589217\" title=\"Skate Away\">Skate Away</a></li><li class=\"category_960683\"><a href=\"http://www.topshop.com/en/tsuk/category/clothing-427/tokyo-bloom-2501635\" title=\"Tokyo Bloom\">Tokyo Bloom</a></li>\n" + "</ul></div></li><li class=\"category_208492\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/home\" title=\"Shoes\">Shoes</a>\n" + "<div class=\"dropdown columns_2\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_208542\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/heels-458\" title=\"Heels\">Heels</a></li><li class=\"category_208543\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/flats-459\" title=\"Flats\">Flats</a></li><li class=\"category_208544\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/boots-460\" title=\"Boots\">Boots</a></li><li class=\"category_208545\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/shoe-accessories-461\" title=\"Shoe Accessories\">Shoe Accessories</a></li><li class=\"category_331499\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/view-all-748\" title=\"View All\">View All</a></li>\n" + "</ul>\n" + "<ul class=\"column_2\">\n" + "<li class=\"category_331501\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/premium-shoes-749\" title=\"Premium Shoes\">Premium Shoes</a></li><li class=\"category_708000\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/shoe-brands-1910299\" title=\"Shoe Brands\">Shoe Brands</a></li><li class=\"category_1438030\"><a href=\"http://www.topshop.com/en/tsuk/category/shoes-430/brands-a-z-2368947/home\" title=\"Brands A-Z\">Brands A-Z</a></li>\n" + "</ul></div></li><li class=\"category_204484\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/home\" title=\"Bags &amp; Accessories\">Bags &amp; Accessories</a>\n" + "<div class=\"dropdown columns_2\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_208548\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/bags-purses-462\" title=\"Bags &amp; Purses\">Bags &amp; Purses</a></li><li class=\"category_208555\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/sunglasses-468\" title=\"Sunglasses\">Sunglasses</a></li><li class=\"category_208556\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/jewellery-469\" title=\"Jewellery\">Jewellery</a></li><li class=\"category_1500007\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/watches-2497426\" title=\"Watches\">Watches</a></li><li class=\"category_208553\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/belts-466\" title=\"Belts\">Belts</a></li><li class=\"category_208549\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/hats-463\" title=\"Hats\">Hats</a></li><li class=\"category_208552\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/scarves-465\" title=\"Scarves\">Scarves</a></li><li class=\"category_220581\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/gloves-477\" title=\"Gloves\">Gloves</a></li>\n" + "</ul>\n" + "<ul class=\"column_2\">\n" + "<li class=\"category_1006498\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/tights-socks-1694600\" title=\"Tights &amp; Socks\">Tights &amp; Socks</a></li><li class=\"category_208554\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/umbrellas-467\" title=\"Umbrellas\">Umbrellas</a></li><li class=\"category_208551\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/hair-accessories-464\" title=\"Hair Accessories\">Hair Accessories</a></li><li class=\"category_422493\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/gifts-novelty-837\" title=\"Gifts &amp; Novelty\">Gifts &amp; Novelty</a></li><li class=\"category_222088\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/accessories-brands-1911403\" title=\"Accessories Brands\">Accessories Brands</a></li><li class=\"category_1438021\"><a href=\"http://www.topshop.com/en/tsuk/category/bags-accessories-1702216/brands-a-z-2368938/home\" title=\"Brands A-Z\">Brands A-Z</a></li>\n" + "</ul></div></li><li class=\"category_208495\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/home\" title=\"Make Up\">Make Up</a>\n" + "<div class=\"dropdown columns_2\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_208566\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/eyes-470\" title=\"Eyes\">Eyes</a></li><li class=\"category_208567\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/lips-471\" title=\"Lips\">Lips</a></li><li class=\"category_208568\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/face-1906567\" title=\"Face\">Face</a></li><li class=\"category_208569\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/nails-473\" title=\"Nails\">Nails</a></li><li class=\"category_218518\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/accessories-1905801\" title=\"Accessories\">Accessories</a></li><li class=\"category_232585\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/gift-sets-1905802\" title=\"Gift Sets\">Gift Sets</a></li><li class=\"category_648991\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/view-all-915\" title=\"View All\">View All</a></li>\n" + "</ul>\n" + "<ul class=\"column_2\">\n" + "<li class=\"category_241515\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/core-collection-488\" title=\"Core Collection\">Core Collection</a></li><li class=\"category_1397003\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/the-damned-2317911\" title=\"The Damned\">The Damned</a></li><li class=\"category_292015\"><a href=\"http://www.topshop.com/en/tsuk/category/make-up-431/make-up-brands-1910332\" title=\"Make Up Brands\">Make Up Brands</a></li>\n" + "</ul></div></li>\n" + "<li class=\"active category_217217\">\n\n" + "<a href=\"http://www.topshop.com/en/tsuk/category/sale-offers-436/home\" title=\"Sale &amp; Offers\">Sale & Offers</a>\n\n" + "<div class=\"dropdown columns_1\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"active category_398526\"><a href=\"http://www.topshop.com/en/tsuk/category/sale-offers-436/sale-799\" title=\"Sale\">Sale</a></li><li class=\"category_397534\"><a href=\"http://www.topshop.com/en/tsuk/category/sale-offers-436/basic-offers-778\" title=\"Basic Offers\">Basic Offers</a></li><li class=\"category_847049\"><a href=\"http://www.topshop.com/en/tsuk/category/sale-offers-436/seasonal-offers-1017\" title=\"Seasonal Offers\">Seasonal Offers</a></li>\n" + "</ul></div></li><li class=\"category_1578494\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/home\" title=\"Topshop Magazine\">Topshop Magazine</a>\n" + "<div class=\"dropdown columns_1\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_1586003\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/emma-farrow-laura-weir-2670532\" title=\"Emma Farrow &amp; Laura Weir\">Emma Farrow &amp; Laura Weir</a></li><li class=\"category_1551134\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/new-faces-2618429\" title=\"New Faces\">New Faces</a></li><li class=\"category_1586035\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/ibiza-grunge-2670576\" title=\"Ibiza Grunge\">Ibiza Grunge</a></li><li class=\"category_1586027\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/tippex-chic-2670567\" title=\"Tippex Chic\">Tippex Chic</a></li><li class=\"category_1587529\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/beauty-2672298\" title=\"Beauty\">Beauty</a></li><li class=\"category_1585991\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/emma-elwicks-perfect-10-2670522\" title=\"Emma Elwick&#039;s Perfect 10\">Emma Elwick&#039;s Perfect 10</a></li><li class=\"category_1551142\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/accessories-zine-shoot-2618438\" title=\"Accessories Zine Shoot\">Accessories Zine Shoot</a></li><li class=\"category_1562537\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/kiss-me-quick-2641005\" title=\"Kiss Me Quick\">Kiss Me Quick</a></li><li class=\"category_1551113\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/zine-rosie-cover-2618401\" title=\"Zine Rosie Cover\">Zine Rosie Cover</a></li><li class=\"category_1562577\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/hey-nineteen-outfit-1-2641048\" title=\"Hey Nineteen Outfit 1\">Hey Nineteen Outfit 1</a></li><li class=\"category_1562514\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/new-faces-estella-next-model-moanagement-2640975\" title=\"New Faces: Estella @ Next Model Moanagement\">New Faces: Estella @ Next Model Moanagement</a></li><li class=\"category_1562553\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/good-sport-2641014\" title=\"Good Sport\">Good Sport</a></li><li class=\"category_1551122\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/hey-nineteen-2618420\" title=\"Hey Nineteen\">Hey Nineteen</a></li><li class=\"category_1562587\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/hey-nineteen-outfit-2-2641064\" title=\"Hey nineteen Outfit 2\">Hey nineteen Outfit 2</a></li><li class=\"category_1562520\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/new-faces-alice-img-models-2640985\" title=\"New Faces: Alice @IMG Models\">New Faces: Alice @IMG Models</a></li><li class=\"category_1562560\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/the-pvc-lip-2641023\" title=\"The PVC Lip\">The PVC Lip</a></li><li class=\"category_1562496\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/campaign-girls-2640955\" title=\"Campaign Girls\">Campaign Girls</a></li><li class=\"category_1562534\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/island-life-2640995\" title=\"Island Life\">Island Life</a></li><li class=\"category_1551102\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/zine-jourdan-cover-2618374\" title=\"Zine Jourdan Cover\">Zine Jourdan Cover</a></li><li class=\"category_1562565\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/go-native-2641032\" title=\"Go Native\">Go Native</a></li><li class=\"category_1562503\"><a href=\"http://www.topshop.com/en/tsuk/category/topshop-magazine-2663381/new-faces-olivia-elite-models-2640964\" title=\"New Faces: Olivia @ Elite Models\">New Faces: Olivia @ Elite Models</a></li>\n" + "</ul></div></li><li class=\"category_777109\"><a href=\"http://www.topshop.com/en/tsuk/category/lookbook-951/home\" title=\"Lookbook\">Lookbook</a>\n" + "<div class=\"dropdown columns_1\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_1006712\"><a href=\"http://www.topshop.com/en/tsuk/category/lookbook-951/palm-springs-1931805/home\" title=\"Palm Springs\">Palm Springs</a></li><li class=\"category_1031038\"><a href=\"http://www.topshop.com/en/tsuk/category/lookbook-951/railroad-1906715/home\" title=\"Railroad\">Railroad</a></li><li class=\"category_1006687\"><a href=\"http://www.topshop.com/en/tsuk/category/lookbook-951/modern-nights-1906225/home\" title=\"Modern Nights\">Modern Nights</a></li><li class=\"category_1228070\"><a href=\"http://www.topshop.com/en/tsuk/category/lookbook-951/festival-2056764/home\" title=\"Festival\">Festival</a></li>\n" + "</ul></div></li><li class=\"category_433414\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432\" title=\"We Love\">We Love</a>\n" + "<div class=\"dropdown columns_1\">\n\n" + "<ul class=\"column_1\">\n" + "<li class=\"category_475771\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/this-week-we-love-886\" title=\"This Week We Love\">This Week We Love</a></li><li class=\"category_475777\"><a href=\"http://topshop.tumblr.com/\" title=\"Tumblr\">Tumblr </a></li><li class=\"category_213506\"><a href=\"http://insideout.topshop.com\" title=\"Blog\">Blog </a></li><li class=\"category_1351410\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/new-in-store-hong-kong-2257476\" title=\"New In Store Hong Kong\">New In Store Hong Kong</a></li><li class=\"category_1158657\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/new-in-store-1915811\" title=\"New In Store\">New In Store</a></li><li class=\"category_1484680\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/the-velvet-touch-2467958\" title=\"The Velvet Touch\">The Velvet Touch</a></li><li class=\"category_1584059\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/hot-tropics-2666874\" title=\"Hot Tropics\">Hot Tropics</a></li><li class=\"category_1588735\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/nadia-ny-personal-shopper-2673653\" title=\"Nadia NY Personal Shopper\">Nadia NY Personal Shopper</a></li><li class=\"category_1596043\"><a href=\"http://www.topshop.com/en/tsuk/category/we-love-432/fashion-week-essentials-2687813\" title=\"Fashion Week Essentials\">Fashion Week Essentials</a></li>\n" + "</ul></div></li></ul></div><!-- END GN_CachedTopLevelCategoryMap.jsp --> \n" + " <div id=\"wrapper_tactical_message\" class=\"sp_25 espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- eSpot content file import --><!-- CMS Page Version: static-0000067510 baseline: 4 revision: 0 published: 2014-02-12 15:44:29.753711:Ella Down -->\n" + "<!-- CMS Temp Version: template-0000011130 baseline: 2 revision: 0 description: Cycle Builder (MASTER) (REF 0000011124) published: 2013-10-09 12:38:33.676962 -->\n\n\n" + " \n" + "<link rel=\"stylesheet\" type=\"text/css\" href=\"/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/templates/static/template-0000011130/css/default.css\" /><style type=\"text/css\">\n" + "/*<![CDATA[*/\n" + "/*]]>*/\n" + "</style>\n\n" + " \n" + " \n\n" + " \n" + " <div id=\"cycleBuilder67510\" class=\"cycleBuilderContent default\">\n" + " <ul class='cycleItemList'>\n" + " <li class='cycleItem_1'><a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?catalogId=33057&amp;storeId=12556&amp;langId=-1&amp;viewAllFlag=false&amp;categoryId=259987&amp;interstitial=true#fragment-2-tab-2-4&amp;intcmpid=W_TOP_NAV_WK13_HP_UK_INTDELIVERY\" title=\"FREE SHIPPING ON ALL ORDERS FOR LONDON FASHION WEEK\" target=\"_self\"><img src=\"/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000067510/images/tact-wk24-LFWshipping_UK-ROW-EU.jpg\" alt=\"FREE SHIPPING ON ALL ORDERS FOR LONDON FASHION WEEK\" height=\"20\" width=\"600\" /></a></li>\n" + " </ul>\n" + "</div><script type=\"text/javascript\" src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'>\n" + "//<![CDATA[\n" + "//]]>\n" + "</script>\n" + "<script type='text/javascript' src='//www.topshop.com/javascript/3.15.0.0/lib/plugins/jquery.cycle.core.js'>\n" + "//<![CDATA[\n" + "//]]>\n" + "</script>\n" + "<script type='text/javascript'>\n" + "//<![CDATA[\n\n" + " var $jQuery191 = jQuery.noConflict();\n\n" + " (function($){\n\n" + " var cycleItemNames = ['FREE SHIPPING ON ALL ORDERS FOR LONDON FASHION WEEK'];\n\n" + " var initialSlide = 0;\n\n" + " var locationHashVal = getHashVal(document.location.hash);\n\n" + " var sliderPos = 1;\n\n" + " var cycleWrapper = $('#cycleBuilder67510');\n\n" + " if (locationHashVal != -1){\n" + " initialSlide = locationHashVal;\n" + " }\n\n" + " function getHashVal(hash){\n" + " if (hash.toLowerCase().match('#slide')) {\n" + " hash = hash.replace(/#slide/g, '');\n" + " hash = parseInt(hash) - 1;\n" + " } else {\n" + " hash = -1;\n" + " }\n" + " return hash;\n" + " }\n\n" + " cycleWrapper\n" + " .find('.cycleItemList')\n" + " .cycle({\n" + " speed: 600 \n" + " });\n\n" + " cycleWrapper\n" + " .find('area[href*=\\'#slide\\'], a[href*=\\'#slide\\']')\n" + " .bind('click',function() {\n" + " var href = $(this).attr('href');\n" + " locationHashVal = href.substr(href.indexOf('#'), href.length);\n" + " locationHashVal = getHashVal(locationHashVal);\n" + " if (locationHashVal != -1){\n" + " $('#cycleBuilder67510 .cycleItemList').cycle(locationHashVal);\n" + " }\n" + " });\n\n" + " \n\n" + " })($jQuery191);\n\n" + " //]]>\n" + "</script>\n" + " <!--Using Master Template: /static/template-0000011124 -->\n" + " \n\n" + "<!-- End - JSP File Name: eMarketingSpotDisplay.jsp --> \n" + " </div>\n" + " \n" + " <div id=\"wrapper_page_body\" class=\"sp_25\">\n" + " \n" + " <div id=\"wrapper_content\" class=\"cf\">\n" + " \n" + " <div id=\"home_content_espot_1\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- eSpot content file import --><!-- CMS Page Version: static-0000062488 baseline: 394 revision: 0 published: 2014-02-17 12:58:16.400357:Ella Down -->\n" + "<!-- CMS Temp Version: template-0000004408 baseline: 83 revision: 0 description: Flexible modules columns with Image Mapping (MASTER) (REF 0000004357) published: 2011-06-23 11:07:52.889123 -->\n\n\n" + " \n" + " <link rel=\"stylesheet\" type=\"text/css\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/templates/static/template-0000004408/css/default.css\" />\n" + "<link rel=\"stylesheet\" type=\"text/css\" href=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/templates/static/template-0000011108/css/default.css\" /><style type=\"text/css\">\n" + "/*<![CDATA[*/\n\n" + "/* Custom page styling */\n" + "/* sdgf */\n" + "#iosSlider_62497 .iosSliderItem1 .imageMapBlockItem_1 {\n" + " width: 593px !important;\n" + "}\n\n" + ".iosSliderContent .navSlideSelector {\n" + " width: 200px !important;\n" + " }\n\n\n" + " #iosSlider_62497 .iosSlider,\n" + " #iosSlider_62497 .iosSliderItem { height: 458px; }\n\n" + " #iosSlider_62497 .iosSlider { width: 990px; }\n\n" + " #iosSlider_62497 .iosSliderItem1 { width: 650px; }\n" + " \n\n" + " #iosSlider_62497 .iosSliderItem2 { width: 650px; }\n" + " \n\n" + " #iosSlider_62497 .iosSliderItem3 { width: 650px; }\n" + " \n\n" + " #iosSlider_62497 .iosSliderItem4 { width: 650px; }\n" + " \n\n" + " #iosSlider_62497 .iosSliderItem5 { width: 650px; }\n" + " \n\n" + " #iosSlider_62497 .iosSliderItem6 { width: 650px; }\n" + " \n\n" + "/*]]>*/\n" + "</style>\n\n" + " \n" + " \n\n" + " \n" + " <div id=\"outerWrapper\" style=\"width: 990px;\">\n" + " <div id=\"flexible_grid\">\n" + " <div id=\"container_modules\" class=\"clearfix masonry\" style=\"width:100%\">\n" + " <div class=\"box col9 margin0\">\n" + " <!-- CMS Page Version: static-0000062497 baseline: 198 revision: 0 published: 2014-02-17 12:26:19.992399:Justyna Orlowska -->\n" + " <!-- CMS Temp Version: template-0000011108 baseline: 43 revision: 0 description: iosSlider Builder (MASTER) (REF 0000011018) published: 2013-08-21 16:40:12.125932 -->\n\n" + " <div id=\"iosSlider_62497\" class=\"iosSliderContent default\">\n" + " <div class='iosSlider'>\n" + " <ul class='iosSliderList'>\n" + " <li class='iosSliderItem iosSliderItem1'>\n" + " <a href=\"/en/tsuk/category/topshop-at-london-fashion-week-autumnwinter-2014-2682254/home?TS=1392109803902&amp;intcmpid=W_HERO_HP_UK_WK25_UNIQUE_WATCHAGAIN_1\" title=\"TOPSHOP UNIQUE AW14: Watch Again\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Unique-AW14-slide-image-wk25-monday.jpg\" alt=\"TOPSHOP UNIQUE AW14: Watch Again\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/en/tsuk/category/topshop-at-london-fashion-week-autumnwinter-2014-2682254/home?TS=1392109803902&amp;intcmpid=W_HERO_HP_UK_WK25_UNIQUE_WATCHAGAIN_1\" title=\"TOPSHOP UNIQUE AW14: Watch Again\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/unique-aw14-watchagain-wk25-monday.png\" alt=\"TOPSHOP UNIQUE AW14: Watch Again\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n\n" + " <li class='iosSliderItem iosSliderItem2'>\n" + " <a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?pageSize=20&amp;catalogId=33057&amp;viewAllFlag=false&amp;langId=-1&amp;categoryId=1547520&amp;beginIndex=1&amp;sort_field=Relevance&amp;storeId=12556&amp;interstitial=true&amp;intcmpid=W_HERO_HP_UK_WK24_ZINE_1\" title=\"THE TOPSHOP MAGAZINE - Read Now\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Zine-Launch-image-wk24.jpg\" alt=\"THE TOPSHOP MAGAZINE - Read Now\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?pageSize=20&amp;catalogId=33057&amp;viewAllFlag=false&amp;langId=-1&amp;categoryId=1547520&amp;beginIndex=1&amp;sort_field=Relevance&amp;storeId=12556&amp;interstitial=true&amp;intcmpid=W_HERO_HP_UK_WK24_ZINE_1\" title=\"THE TOPSHOP MAGAZINE - Read Now\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Zine-HP-copy-slide-UK-US-wk24.png\" alt=\"THE TOPSHOP MAGAZINE - Read Now\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n\n" + " <li class='iosSliderItem iosSliderItem3'>\n" + " <a href=\"/en/tsuk/category/lulu-kennedy-2695528/home?TS=1392375602853&amp;intcmpid=W_HERO_HP_UK_WK24_LULU_2\" title=\"LULU'S LONDON FASHION WEEK - Browse the Feature\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Lulu-slide-image-wk24-Sat.jpg\" alt=\"LULU'S LONDON FASHION WEEK - Browse the Feature\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/en/tsuk/category/lulu-kennedy-2695528/home?TS=1392375602853&amp;intcmpid=W_HERO_HP_UK_WK24_LULU_2\" title=\"LULU'S LONDON FASHION WEEK - Browse the Feature\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Lulu-copy-uk-wk24-sat.png\" alt=\"LULU'S LONDON FASHION WEEK - Browse the Feature\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n\n" + " <li class='iosSliderItem iosSliderItem4'>\n" + " <a href=\"/en/tsuk/category/style-steals-february-2014-2689025/home?TS=1392213063106&amp;intcmpid=W_HERO_HP_UK_WK24_STYLE_STEALS_4\" title=\"SAVE OUR STYLE - Browse the Feature\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/style-steals-UK-wk24-Thurs.jpg\" alt=\"SAVE OUR STYLE - Browse the Feature\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/en/tsuk/category/style-steals-february-2014-2689025/home?TS=1392213063106&amp;intcmpid=W_HERO_HP_UK_WK24_STYLE_STEALS_4\" title=\"SAVE OUR STYLE - Browse the Feature\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/STYLE-STEALS-UK-COPY-WK24.png\" alt=\"SAVE OUR STYLE - Browse the Feature\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n\n" + " <li class='iosSliderItem iosSliderItem5'>\n" + " <a href=\"/en/tsuk/category/clothing-427/unique-2666733?cat1=203984&amp;cat2=1584019&amp;intcmpid=W_HERO_HP_UK_WK24_UNIQUE_6\" title=\"UNIQUE SS14 - Shop Now\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Unique-image-wk23-thurs.jpg\" alt=\"UNIQUE SS14 - Shop Now\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/en/tsuk/category/clothing-427/unique-2666733?cat1=203984&amp;cat2=1584019&amp;intcmpid=W_HERO_HP_UK_WK24_UNIQUE_6\" title=\"UNIQUE SS14 - Shop Now\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Unique-UK-copy-wk23-thurs.png\" alt=\"UNIQUE SS14 - Shop Now\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n\n" + " <li class='iosSliderItem iosSliderItem6'>\n" + " <a href=\"/en/tsuk/category/sale-offers-436/seasonal-offers-1017?cat1=217217&amp;cat2=847049&amp;intcmpid=W_HERO_HP_UK_WK24_SEASONAL_OFFERS_5\" title=\"STYLISH BITS FOR A SNIP - Shop Seasonal Offers\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/Seasonal-image-wk24.jpg\" alt=\"STYLISH BITS FOR A SNIP - Shop Seasonal Offers\" height=\"457\" width=\"650\" /></a> \n\n" + " <div class='overlay'>\n" + " <a href=\"/en/tsuk/category/sale-offers-436/seasonal-offers-1017?cat1=217217&amp;cat2=847049&amp;intcmpid=W_HERO_HP_UK_WK24_SEASONAL_OFFERS_5\" title=\"STYLISH BITS FOR A SNIP - Shop Seasonal Offers\" target=\"_self\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062497/images/seasonal-uk-copy-wk24.png\" alt=\"STYLISH BITS FOR A SNIP - Shop Seasonal Offers\" height=\"136\" width=\"650\" /></a>\n" + " </div>\n" + " </li>\n" + " </ul>\n" + " </div>\n\n" + " <ul class='navSlideSelector'>\n" + " <li class='navPrevSelector'><a href='#' title='prev'>prev</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 1'>dots 1</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 2'>dots 2</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 3'>dots 3</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 4'>dots 4</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 5'>dots 5</a></li>\n\n" + " <li class='navItemSelector'><a href='#' title='dots 6'>dots 6</a></li>\n\n" + " <li class='navNextSelector'><a href='#' title='next'>next</a></li>\n" + " </ul>\n" + "</div><script type='text/javascript' src='http://code.jquery.com/jquery-1.9.1.min.js'>\n" + "//<![CDATA[\n" + "//]]>\n" + "</script>\n" + " <script type='text/javascript' src='http://www.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/js/plugins/jquery.iosslider.min.js'>\n" + "//<![CDATA[\n" + "//]]>\n" + "</script>\n" + " <script type='text/javascript'>\n" + "//<![CDATA[\n" + " var $jQuery183 = jQuery.noConflict();\n\n" + " (function($){\n\n" + " $(document).ready(function(){\n\n" + " $('#iosSlider_62497 .iosSlider').iosSlider({\n" + " \n" + " onSlideChange: function(args) {\n\n" + " $('#iosSlider_62497 .navItemSelector').removeClass('active');\n\n" + " $('#iosSlider_62497 .navItemSelector:eq(' + (args.currentSlideNumber - 1) + ')').addClass('active');\n\n" + " },\n" + " autoSlide: true,\n" + " autoSlideTimer: 4200,\n" + " snapToChildren: true,\n" + " onSliderLoaded: function(args) {\n\n" + " $('#iosSlider_62497 .navItemSelector:eq(' + (args.currentSlideNumber - 1) + ')').addClass('active');\n" + " \n" + " $('#iosSlider_62497').addClass('sliderLoaded');\n\n" + " $(args.currentSlideObject)\n" + " .addClass('active');\n\n" + " },\n" + " onSlideComplete: function(args) {\n\n" + " $('#iosSlider_62497 .iosSliderItem')\n" + " .eq(args.currentSlideNumber-1)\n" + " .addClass('active');\n\n" + " },\n" + " navSlideSelector: $('#iosSlider_62497 .navSlideSelector li.navItemSelector a'),\n" + " onSlideStart: function(args) {\n\n" + " $(args.currentSlideObject)\n" + " .removeClass('active');\n\n" + " },\n" + " navPrevSelector: $('#iosSlider_62497 .navSlideSelector li.navPrevSelector a'),\n" + " navNextSelector: $('#iosSlider_62497 .navSlideSelector li.navNextSelector a'),\n" + " infiniteSlider: true,\n" + " autoSlideHoverPause: true,\n" + " snapSlideCenter: true,\n" + " autoSlideTransTimer: 500\n" + " \n" + " });\n\n" + " \n\n" + " \n\n" + " // Prevent iosSlider nav links jumping to top of page.\n" + " $('#iosSlider_62497 .navSlideSelector a ').on('click', function(event){\n\n" + " return false;\n\n" + " });\n\n" + " \n\n" + " });\n\n" + " })($jQuery183);\n\n" + " //]]>\n" + "</script>\n" + " <!--Using Master Template: /static/template-0000011018 -->\n" + " </div>\n\n" + " <div class=\"box col5 margin0\">\n" + " <a href=\"/en/tsuk/category/topshop-at-london-fashion-week-aw14-newgen-2683318/home?TS=1392117578857&amp;intcmpid=W_HERO_WELOVE_UK_WK25_NEWGEN\" title=\"THOSE NEWGEN DESIGNERS - Watch the Films\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/NEWGEN-UK-monday-wk25.jpg\" alt=\"THOSE NEWGEN DESIGNERS - Watch the Films\" width=\"550\" height=\"492\" /></a>\n" + " </div>\n\n" + " <div class=\"box col4 margin0\">\n" + " <a href=\"/en/tsuk/category/new-in-this-week-2169932/new-in-this-week-493?cat1=208491&amp;cat2=277012&amp;intcmpid=W_HERO_WELOVE_UK_WK24_LFW_ESSENTIALS\" title=\"FREE SHIPPING - Shop Now\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_05.jpg\" alt=\"FREE SHIPPING - Shop Now\" width=\"440\" height=\"492\" /></a>\n" + " </div>\n\n" + " <div class=\"box col5 margin0\">\n" + " <div class=\"img_map item_2\" style=\"width:550px; height:474px;\">\n" + " <a href=\"/en/tsuk/category/sale-offers-436/sale-799?cat1=217217&amp;cat2=398526&amp;intcmpid=W_HERO_WELOVE_UK_WK24_SALE_20PERCENT\" title=\"SALE - GET AN ADDITIONAL 20% OFF - Shop Now\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_06-V2.jpg\" alt=\"SALE - GET AN ADDITIONAL 20% OFF - Shop Now\" width=\"550\" height=\"474\" /></a>\n" + " </div>\n" + " </div>\n\n" + " <div class=\"box col4 margin0\">\n" + " <a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?beginIndex=0&amp;pageSize=20&amp;sort_field=Relevance&amp;viewAllFlag=&amp;storeId=12556&amp;catalogId=33057&amp;langId=-1&amp;parent_categoryId=433414&amp;categoryId=1596043&amp;intcmpid=W_HERO_WELOVE_UK_WK24_FREE_SHIPPING\" title=\"LONDON FASHION WEEK ESSENTIALS - Shop Now\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_07.jpg\" alt=\"LONDON FASHION WEEK ESSENTIALS - Shop Now\" width=\"440\" height=\"474\" /></a>\n" + " </div>\n\n" + " <div class=\"box col3 margin0\">\n" + " <a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?pageSize=20&amp;catalogId=33057&amp;viewAllFlag=false&amp;langId=-1&amp;categoryId=1547528&amp;beginIndex=1&amp;sort_field=Relevance&amp;storeId=12556&amp;interstitial=true&amp;intcmpid=W_HERO_WELOVE_UK_WK24_NEWGEN\" title=\"NEWGEN - Browse the Feature\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_08.jpg\" alt=\"NEWGEN - Browse the Feature\" width=\"330\" height=\"402\" /></a>\n" + " </div>\n\n" + " <div class=\"box col3 margin0\">\n" + " <a href=\"/en/tsuk/category/new-in-this-week-2169932/new-in-this-week-493?cat1=208491&amp;cat2=277012&amp;intcmpid=W_HERO_WELOVE_UK_WK24_FREEZINE\" title=\"TOPSHOP MAGAZINE - Free with all orders\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_09.jpg\" alt=\"TOPSHOP MAGAZINE - Free with all orders\" width=\"330\" height=\"402\" /></a>\n" + " </div>\n\n" + " <div class=\"box col3 margin0\">\n" + " <a href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?pageSize=20&amp;catalogId=33057&amp;viewAllFlag=false&amp;langId=-1&amp;categoryId=1547519&amp;beginIndex=1&amp;sort_field=Relevance&amp;storeId=12556&amp;interstitial=true&amp;intcmpid=W_HERO_WELOVE_UK_WK24_LIFE_IN_FASHION\" title=\"LIFE IN FASHION - Browse the Feature\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_10.jpg\" alt=\"LIFE IN FASHION - Browse the Feature\" width=\"330\" height=\"402\" /></a>\n" + " </div>\n\n" + " <div class=\"box col4 margin0\">\n" + " <a href=\"/en/tsuk/category/clothing-427/shorts-448/culottes-2683113?noOfRefinements=1&amp;cat1=203984&amp;cat2=208529&amp;cat3=1592157&amp;intcmpid=W_HERO_WELOVE_UK_WK24_CULOTTES\" title=\"COOL FOR CULOTTES - Shop Culottes\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/HP-Fri-wk24-UK-v2_11.jpg\" alt=\"COOL FOR CULOTTES - Shop Culottes\" width=\"440\" height=\"456\" /></a>\n" + " </div>\n\n" + " <div class=\"box col5 margin0\">\n" + " <div class=\"img_map item_3\" style=\"width:550px; height:456px;\">\n" + " <img usemap=\"#imgmap20131023163753\" src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/Tumblr-replace-Unique-online-extras-sunday-Uk.jpg\" width=\"550\" height=\"456\" alt=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" style=\"display: block;\" border=\"0\" /> <map id=\"imgmap20131023163753\" name=\"imgmap20131023163753\">\n" + " <area shape=\"rect\" alt=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" title=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" coords=\"30,1,539,390\" href=\"http://topshop.tumblr.com/\" class=\"new_window\" />\n" + " <area shape=\"rect\" alt=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" title=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" coords=\"81,394,313,431\" href=\"http://topshop.tumblr.com/\" class=\"new_window\" />\n" + " <area shape=\"rect\" alt=\"SHOP CLUTCHES\" title=\"SHOP BOMBER JACKETS\" coords=\"326,393,530,440\" href=\"/en/tsuk/category/clothing-427/jackets-coats-2390889#pageSize=20&amp;catalogId=33057&amp;viewAllFlag=false&amp;sort_field=Relevance&amp;langId=-1&amp;beginIndex=1&amp;storeId=12556&amp;parent_categoryId=203984&amp;categoryId=208526&amp;refinements=category~[209750|208526]&amp;noOfRefinements=1&amp;intcmpid=W_HERO_WELOVE_UK_WK25_BOMBERS\" />\n" + " <area shape=\"default\" href=\"#\" title=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" alt=\"TIME FOR A CLOSE UP - Check Out Topshop Tumblr\" />\n" + " </map>\n" + " </div>\n" + " </div>\n\n" + " <div class=\"box col4 margin0\">\n" + " <a href=\"/en/tsuk/category/look-of-the-day-monikh-february-2014-2692703/home?TS=1392299039147&amp;intcmpid=W_HERO_WELOVE_UK_WK24_PS_LOOK_FEATURE_MONIKHLFW\" title=\"LOOK OF THE DAY - Browse the Feature\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/Look-of-the-day-Monikh-UK-wk24.jpg\" alt=\"LOOK OF THE DAY - Browse the Feature\" width=\"440\" height=\"486\" /></a>\n" + " </div>\n\n" + " <div class=\"box col5 margin0\">\n" + " <a href=\"http://insideout.topshop.com\" title=\"FEBURARY HITLIST - Browse the Feature\" class=\"new_window\"><img src=\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/pages/static/static-0000062488/images/Blog-replace-hitlist-wk24.jpg\" alt=\"FEBURARY HITLIST - Browse the Feature\" width=\"550\" height=\"486\" /></a>\n" + " </div>\n" + " </div>\n" + " </div>\n" + "</div><script type=\"text/javascript\">\n" + "//<![CDATA[\n\n" + " var _ArcQ = _ArcQ || [];\n" + " \n" + " // Get the grid layout plugin jQuery Masonry from http://masonry.desandro.com/ - Copyright © 2011 David DeSandro\n" + " var loadMasonry = function() {\n\n" + " $.getScript(\"http://media.topshop.com/wcsstore/ConsumerDirectStorefrontAssetStore/images/colors/color7/cms/templates/static/template-0000004408/js/jquery.masonry.js\", function() {\n" + " grid();\n" + " });\n" + " };\n" + " \n" + " // Set the options for the grid\n" + " function grid() {\n" + " $('#container_modules').masonry({\n" + " itemSelector: '.box',\n" + " columnWidth: 110,\n" + " gutterWidth: 0\n" + " });\n" + " getHeight();\n" + " };\n" + " \n" + " var getHeight = function() {\n" + " $(document).ready(function() {\n" + " // if container_modules exist in the DOM \n" + " if ( $(\"#container_modules\").length > 0 ) {\n" + " // create a variable that retrieves the value of masonry total height of all modules (inline value)\n" + " var theHeight = $(\"#container_modules\").css(\"height\");\n" + " //Apply the height to outerWrapper (outerWrapper wrapper for background colour)\n" + " $(\"#outerWrapper\").css(\"height\", theHeight);\n" + " // If this is supercat, with background color there's a aligment problem between navigation and content\n" + " // FIX : if the supercatnav exist, it's the supercat theme\n" + " if ( $(\"#supercatnav\").length > 0 ) {\n" + " //apply the same height on the left side navigation\n" + " $(\"#supercatnav\").css(\"height\", theHeight);\n" + " }\n" + " }\n" + " });\n" + " };\n\n\n" + " // End of plugin jQuery Masonry \n" + " \n" + " _ArcQ.push([loadMasonry]);\n\n" + "//]]>\n" + "</script>\n" + "<script type=\"text/javascript\">\n" + "//<![CDATA[\n\n" + " \n" + " \n" + " var _ArcQ = _ArcQ || [];\n" + " \n" + " var templatefunction = function() {\n" + " \n" + " var test = new Arcadia.UI.FacebookLike({\n" + " target: \"#facebooklikefeature\", \n" + " position: \"append\", \n" + " layout: \"standard\", \n" + " showFaces: false,\n" + " action: \"like\",\n" + " width: 300,\n" + " height: 35,\n" + " font: \"arial\",\n" + " colourScheme: \"light\"\n" + " });\n" + " \n" + " };\n" + " \n" + " var slideshowController = function () {\n\n" + " // A selector string for elements on the page we want to target\n" + " var controllerTargets = \".productScroller, .cycleHolder\";\n" + " \n" + " // Arrays to hold all jCarousel and Cycle objects on the page.\n" + " var scrollers = new Array();\n" + " var cyclers = new Array();\n" + " \n" + " // For each scroller/cycle instance on the page.\n" + " $(controllerTargets).each(function() {\n" + " \n" + " // Cache the current scroller for faster frequent access.\n" + " var $this = $(this);\n" + " \n" + " // If this controller target has a .jcarousel-container element, we know it's using the jCarousel plug-in. Push it into the scrollers array.\n" + " if ($this.find(\".jcarousel-container\").length > 0) \n" + " scrollers.push($this.find(\".productList\").data(\"jcarousel\"));\n" + " // Otherwise we'll assume it uses the Cycle plug-in. Push it into the cyclers array.\n" + " else\n" + " cyclers.push($this.find(\".productList, .cycleSlides\"));\n" + " \n" + " });\n" + " \n" + " \n" + " /*\n" + " A helper function to change the state of all .scrollers,\n" + " whether they use the jCarousel or Cycle plug-in\n" + " \n" + " Parameters: state - String, valid values are \"pause\" and \"resume\".\n" + " */\n" + " function changeSlideshowState(state) {\n" + " \n" + " // Loop through all Cycle objects, call its built-in method and pass in the state parameter directly.\n" + " for(i = 0; i < cyclers.length; i++) { cyclers[i].cycle(state); }\n" + " \n" + " // Loop through all jCarousel objects.\n" + " for(i = 0; i < scrollers.length; i++) {\n" + " // Check the state parameter and use that to determine which of jCarousel's methods to use.\n" + " if(state == \"pause\") scrollers[i].stopAuto();\n" + " else if(state == \"resume\") scrollers[i].startAuto();\n" + " }\n" + " \n" + " }\n" + " \n" + " /* Bind events:\n" + " When mouse pointer hovers away from any .productScroller, resume all animation.\n" + " When mouse pointer hovers over any .productScroller, pause all animation.\n" + " */\n" + " $(controllerTargets)\n" + " .bind(\"mouseenter\", function() { changeSlideshowState(\"pause\"); })\n" + " .bind(\"mouseleave\", function() { changeSlideshowState(\"resume\"); }); \n" + " \n" + " };\n" + " \n" + " _ArcQ.push([templatefunction], [slideshowController]);\n" + " \n" + "//]]>\n" + "</script>\n" + " <!--Using Master Template: /static/template-0000004357 -->\n" + " \n\n" + "<!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_2\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_3\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"wrapper_page_content\" class=\"clear cf\">\n\n" + " <!-- Add Page Content Begin --><!-- interstitial file import -->\n" + " <div class=\"cms_content\">\n" + " \n" + " </div>\n" + " \n" + "<!-- Add Page Content End -->\n\n" + " </div>\n" + " \n" + " \n" + " \n" + " <div id=\"home_content_espot_4\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_5\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_6\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_7\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_8\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " <div class=\"espot_advertisement activity_1\">\n" + " <!-- Start of eDigital Customer Survey -->\n\n" + "<script language=\"Javascript\" type=\"text/javascript\" src=\"/eDigital/ecos_surveycode_jsonly.js\"></script>\n" + " </div>\n" + " <!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " <div id=\"home_content_espot_9\" class=\"espot\">\n" + " <!-- Start- JSP File Name: eMarketingSpotDisplay.jsp --><!-- End - JSP File Name: eMarketingSpotDisplay.jsp -->\n" + " </div>\n" + " \n" + " </div>\n\n\n" + " <script type=\"text/javascript\">\n" + " <!-- \n" + " s.pageName=\"TS:Home Page\"\n" + " s.channel=\"TS:Home\"\n" + " s.prop3=\"TS:Home Page\"\n" + " \n" + " s.prop4=\"not logged-in\"\n" + " \n" + " s.eVar14=\"not logged-in\"\n" + " \n" + " \n" + " /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/\n" + " var s_code=s.t();if(s_code)document.write(s_code)//--></script>\n" + " <script type=\"text/javascript\"><!--\n" + " if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\\!-'+'-')\n" + " //--></script><!--/DO NOT REMOVE/-->\n" + "</div>\n" + " \n" + " <div id=\"wrapper_footer\" class=\"sp_25\">\n" + " <ul id=\"nav_footer_tiledlist_1\" class=\"menu_inline\">\n\n" + " <li id=\"tiled_list_1\">\n" + " <a title=\"Store Finder\" href=\"/en/tsuk/category/store-finder-1824332/home?cat2=1102568/en/tsuk/category/students-14/home?cat2=277560&intcmpid=W_FOOTER_MAIN_WK1_HP_UK_STORE_FINDER\"></a>\n" + " </li>\n\n" + " <li id=\"tiled_list_2\">\n" + " <a title=\"Topshop Gift Cards\" href=\"/en/tsuk/category/topshop-gift-card-247/home?cat2=695497&intcmpid=W_FOOTER_MAIN_WK1_HP_UK_GIFT_CARDS\"></a>\n" + " </li>\n\n" + " <li id=\"tiled_list_3\">\n" + " <a title=\"Personal Shopping\" href=\"/en/tsuk/category/personal-shopping-home-3/home?cat2=243986&intcmpid=W_FOOTER_MAIN_WK1_HP_UK_PERSONAL_SHOPPING\"></a>\n" + " </li>\n\n" + " <li id=\"tiled_list_4\">\n" + " <a title=\"Students Get 10% Off\" href=\"/en/tsuk/category/topshop-students-student-discount-2316596/home?TS=1392132268317&cat2=277560\"></a>\n" + " </li>\n\n" + " <li id=\"tiled_list_5\">\n" + " <a title=\"Topshop at Fashion Week\" href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?pageSize=20&catalogId=33057&viewAllFlag=false&langId=-1&categoryId=1592145&beginIndex=1&sort_field=Relevance&storeId=12556&interstitial=true&intcmpid=W_FOOTER_MAIN_WK4_HP_UK_LFW\"></a>\n" + " </li>\n\n" + " <li id=\"tiled_list_6\">\n" + " <a title=\"Topshop Says Donate\" href=\"/webapp/wcs/stores/servlet/CatalogNavigationSearchResultCmd?catalogId=33057&viewAllFlag=false&categoryId=500021&langId=-1&storeId=12556&interstitial=true&intcmpid=W_FOOTER_MAIN_WK1_HP_UK_TS_DONATE\"></a>\n" + " </li>\n" + " </ul>\n" + " <div id=\"main_section_2\">\n" + " <h4>Help</h4>\n\n" + " <div id=\"nav_footer_normallist_div_1\">\n\n" + " <ul class=\"ul_1\">\n\n" + " <li class=\"li_2\">\n" + " <a title=\"Delivery\" target=\"_blank\" href=\"http://help.topshop.com/system/templates/selfservice/topshop/#!portal/1001/topic/1003/Delivery&intcmpid=W_FOOTER_MAIN_WK15_HP_UK_DELIVERY\">Delivery</a>\n\n" + " </li>\n\n" + " <li class=\"li_3\">\n" + " <a title=\"Returns\" href=\"http://help.topshop.com/system/templates/selfservice/topshop/#!portal/1001/topic/1009/Returns&intcmpid=W_FOOTER_MAIN_WK15_HP_UK_RETURNS\" target=\"_blank\">Returns</a>\n\n" + " </li>\n\n" + " <li class=\"li_4\">\n" + " <a title=\"Track Your Order\" href=\"http://help.topshop.com/system/templ"; final Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE); final Matcher matcher = pattern.matcher(string); while (matcher.find()) { System.out.println("Full match: " + matcher.group(0)); for (int i = 1; i <= matcher.groupCount(); i++) { System.out.println("Group " + i + ": " + matcher.group(i)); } } } }

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Java, please visit: https://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html