# Regex

**URL:** https://forum.robusta.ai/c/faq/regex/71.md

[Latest](https://forum.robusta.ai/latest.md) · [Categories](https://forum.robusta.ai/categories.md) · [Tags](https://forum.robusta.ai/tags.md)

---

## [About the Regex category](https://forum.robusta.ai/t/about-the-regex-category/538)

<div class="topic-metadata">

**Author:** [@ilayda.ipar](https://forum.robusta.ai/u/ilayda.ipar)\
**Replies:** 0

</div>

---

## [Script that gives a sequence of numbers from text with Regex](https://forum.robusta.ai/t/script-that-gives-a-sequence-of-numbers-from-text-with-regex/127)

<div class="topic-metadata">

**Author:** [@ilayda.ipar](https://forum.robusta.ai/u/ilayda.ipar)\
**Replies:** 0\
**Last updated:** [May 25, 2022, 7:36am UTC](https://forum.robusta.ai/t/script-that-gives-a-sequence-of-numbers-from-text-with-regex/127 "2022-05-25T07:36:07Z")

</div>

In this example, you can search for different values in text by changing the regex variable as desired. :arrow\_down: ar testVariable = execution.getVariable(“testVariable”); var regex = /\[1\]\*/gm; var result = testVar…
