From StrategyWiki, the video game walkthrough and strategy guide wiki
< StrategyWiki:Guide
Revision as of 15:23, 4 September 2013 by Notmyhandle (talk | contribs) ({{wikipedia}})
Jump to navigation Jump to search
stub
stub

This page is a stub. Help us expand it, and you get a cookie.

Regular expressions, often referred to as a regex or regexp, plural regexes or regexps, are used to help find changes that need to be replaced and to replace them.

Tools

To use a regular expression you will have to have find a code base that can run it. The easiest tools to use are:

Syntax differences

Note that some tools code their regular expression syntax differently. For example, TextPad makes uses of simplified expressions, such as [:alpha:] to match a-z and A-Z.

Uses
  • Adding a hundred file names to a table. See this example.
    • Regex used (in TextPad): "| || \([[:alpha:][:blank:]]\{10,20\}\) || \(.\{1,10\}\) Bells" (without quotes).