> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sample 1. Step 16: Describe the YOUR SPACESHIP NUMBER field

> Find the YOUR SPACESHIP NUMBER field in Sample 1 by giving the SpaceShip Character String element a regular expression instead of an alphabet.

The **YOUR SPACESHIP NUMBER** field needs three items, like the **YOUR PLANET NAME** field:

* A [Static Text](/flexi-capture/fls/template/static-text) element named **SpaceShipHeader** for the field label
* A [Character String](/flexi-capture/fls/template/character-chain) element named **SpaceShip** for the field value
* A block named **SpaceShip** for the field

Create them as described in [Steps 10](/flexi-capture/fls/tutorial/step10) to [14](/flexi-capture/fls/tutorial/step14), with these settings:

<Steps>
  <Step title="Define the SpaceShip element with a regular expression">
    Give the **SpaceShip** element a regular expression instead of an alphabet, unlike the **PlanetName** element. The **YOUR SPACESHIP NUMBER** field has the same data format on every test image, so you can define it with the regular expression `[N]{5}[A-Z][A-Z][N]{2}`.

    For more information on regular expressions, see [Alphabet used in regular expressions](/flexi-capture/fls/appendix/reg-ex).

    <Frame>
      <img src="https://mintcdn.com/abbyy/r-nfa7jujx5b9gKX/images/flexi-capture/fls/tutorial23.png?fit=max&auto=format&n=r-nfa7jujx5b9gKX&q=85&s=8e2ae771f0105c24c84502065d5825e4" alt="Screenshot of the Character String tab of the SpaceShip element properties in ABBYY FlexiLayout Studio showing the regular expression that defines the spaceship number format instead of an alphabet." width="431" height="455" data-path="images/flexi-capture/fls/tutorial23.png" />
    </Frame>
  </Step>

  <Step title="Set the SpaceShip search area">
    Use **SpaceShipHeader** as the reference element.
  </Step>

  <Step title="Create the SpaceShip block">
    Use **SpaceShip** as the source element.
  </Step>
</Steps>
