Microsys
  

Custom Search All Pages in Entire Website for Text and Code

Search for code and text in your website. Find out which pages already have Google Analytics Javascript tracker installed.
Help: overview | previous | next

 To see all the options available, you will have to switch off easy mode 

 With options that use a dropdown list, any [+] or [-] button next to adds or removes items in the list itself 

Note: We have a video tutorial:





Custom Search All Pages in Website for Text and Code

First you need to select the patterns you want to find in your website.

Notice that the entire source of all the website pages scanned are checked meaning you can search for anything including both code and text.

website custom search config

In the above example, we are searching for:
  • If Google Analytics tracker has been installed on all pages. We do this by searching for Google Analytics Javascript code.
  • Search to check if any pages in website have findable email addresses we want removed.

Note: While Website Analyzer comes with some predefined regular expressions for finding common text and code, you can easily add your own custom website text and code searches.

Tip: If you have a website that returns soft 404 error pages for URLs that should return 404 : Not found, you can use the custom search functionality to search for text and code specific to such pages.


Introduction to Regular Expressions

If you need to search for text patterns instead of raw strings, you will benefit from a basic understanding of regular expressions:
  • .+ matches any character in content one or more times.
  • .* matches any character in content zero or more times. (Rarely useful. See alternative below.)
  • .*? matches any character in content until the following regex code can match the content.
  • \s* matches all whitespaces in content zero or more times. (Measing all spaces, if any, are matched.)
  • [0-9a-zA-Z] matches English letter or digit in content one time.
  • [^<]* matches any character except "<" in content zero or more times.
  • (this|that|the) matches "this" or "that" or "the".
  • (this|that|the)? matches like above if a match is possible, but will continue with the following regex under all circumstances.


View Custom Text and Code Search Results

If you have applied above and configured your search strings, all you need to do is starting the website search crawl. When the website scan and searches have finished, you can see how many times each search pattern was found on each page.

website custom search results
This help page is maintained by

As one of the lead developers, his hands have touched most of the code in the software from Microsys.

If you email any questions, chances are that he will be the one answering them.
A1 Website AnalyzerAbout A1 Website Analyzer

SEO website crawler tool that can find broken links, analyze internal link juice flow, show duplicate titles, perform custom code/text search and much more.
     
Share this page with friends   LinkedIn   Twitter   Facebook   Pinterest   Google+   YouTube  
 © Copyright 1997-2016 Microsys
 Usage of this website constitutes an accept of our legal, privacy and cookies information.