# Regex expressions pattern

**URL:** <https://discuss.elastic.co/t/regex-expressions-pattern/166973>\
**Category:** Kibana\
**Created:** [February 4, 2019, 2:23pm UTC](https://discuss.elastic.co/t/regex-expressions-pattern/166973 "2019-02-04T14:23:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedwe](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@fedwe](https://discuss.elastic.co/u/fedwe)\
**Post date:** [February 4, 2019, 2:23pm UTC](https://discuss.elastic.co/t/regex-expressions-pattern/166973/1 "2019-02-04T14:23:30Z")

</div>

i want to make a scriptive field but i cant seem to work any pattern, i want to match a number that starts with a "+" character or 2 consecutive 00 followed by a certain number of numbers like 00951 or +78952 or 0078952.

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [February 4, 2019, 10:36pm UTC](https://discuss.elastic.co/t/regex-expressions-pattern/166973/2 "2019-02-04T22:36:46Z")

</div>

[Regex101.com](https://regex101.com) helps me create regular expressions.

Maybe this will help?

> **[Online regex tester and debugger: PHP, PCRE, Python, Golang and JavaScript](https://regex101.com/r/YwRyff/1)**
>
> Regex101 allows you to create, debug, test and have your expressions explained for PHP, PCRE, Python, Golang and JavaScript. The website also features a community where you can share useful expressions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 4, 2019, 10:36pm UTC](https://discuss.elastic.co/t/regex-expressions-pattern/166973/3 "2019-03-04T22:36:47Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
