# How to extract entity in rasa 2.0 without slot

**URL:** <https://forum.rasa.com/t/how-to-extract-entity-in-rasa-2-0-without-slot/34173>\
**Category:** Rasa Open Source\
**Created:** [September 23, 2020, 2:44pm UTC](https://forum.rasa.com/t/how-to-extract-entity-in-rasa-2-0-without-slot/34173 "2020-09-23T14:44:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhishek1](https://avatars.discourse-cdn.com/v4/letter/a/c89c15/32.png) [@abhishek1](https://forum.rasa.com/u/abhishek1)\
**Post date:** [September 23, 2020, 2:44pm UTC](https://forum.rasa.com/t/how-to-extract-entity-in-rasa-2-0-without-slot/34173/1 "2020-09-23T14:44:17Z")

</div>

I want to extract entity in rasa using entity extraction from action.py I have applied CRF entity extraction in config.yml and

entities=tracker.latest\_message[‘entities’] print(entities) dispatcher.utter\_message(text=“Test”+str(entities))

also mentioned in domain.yml and nlu.md but it’s returning [] please help me out to solve this

I want to learn both way of extraction normal string extraction and numeric value extraction using regex

Thanks in Advance

---

<div class="post-metadata">

**Author:** ![rctatman](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rctatman/32/6734_2.png) [@rctatman](https://forum.rasa.com/u/rctatman)\
**Post date:** [September 24, 2020, 9:59pm UTC](https://forum.rasa.com/t/how-to-extract-entity-in-rasa-2-0-without-slot/34173/2 "2020-09-24T21:59:50Z")

</div>

Have you tried the regex featurizer? I think it would help you with this problem. You [can find the docs for it in Rasa 2.0 here](https://rasa.com/docs/rasa/nlu-training-data#regular-expression-features-regex).
