Tips of this tool

Generate regex automatically, quickly, correctly


In many cases, the regex which we will write is not so complex and abstract, but it is too many and too long. For example, if we need to write a regex to match HTML. So, we can use this tool to generate regex quickly, simply and correctly.


Wildcard is the asterisk(*) which we used to list text files start with 'a': C:\> dir a*.txt. The wildcard means it can be anything here. This tool is to convert Wildcard to Regex.

In order to get and save the content which wildcard matches, we designed "Named wildcard": that is *{name:XXXX} format. But if it conflicts with your normal content, you can select another wildcard format in the front.


We can write a pattern with wildcard directly, for example 'a*.txt'. In more cases, we copy a piece of target text, HTML source code, and modify the vary part to wildcard.

  1. Open browser and browse the target page, find what we want.
  2. Open HTML source code, find the corresponding HTML source. For example:
    <tr class="odd">
      <td>Name: Tom</td>
      <td>Age: 29</td>
  3. Mofidy the vary part to Wildcard: (If we want to save, use *{name:XXX} format, else use * )
    <tr *>
      <td>Name: *{name:Name}</td>
      <td>Age: *{name:Age}</td>
  4. Input the pattern into "Pattern contains wildcard" box and click "Get regex", we get:


Sponsored Links