# AWX limit option - regex

**URL:** <https://forum.ansible.com/t/awx-limit-option-regex/30017>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [March 29, 2019, 7:41am UTC](https://forum.ansible.com/t/awx-limit-option-regex/30017 "2019-03-29T07:41:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pio\_zylka](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pio\_zylka](https://forum.ansible.com/u/pio_zylka)\
**Post date:** [March 29, 2019, 7:41am UTC](https://forum.ansible.com/t/awx-limit-option-regex/30017/1 "2019-03-29T07:41:45Z")

</div>

How can i use option limit with regex in AWX ?  
Lets say I have hosts with IP in range 192.168.1.1-192.168.1.100  
and i want to run template only for range of host let’s say 192.168.1.10-192.168.1.50  
I tried like ad-hoc limit [10-50] [10:50] but it doesnt work.

---

<div class="post-metadata">

**Author:** ![matburt](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/matburt/32/3612_2.png) [@matburt](https://forum.ansible.com/u/matburt)\
**Post date:** [March 29, 2019, 1:35pm UTC](https://forum.ansible.com/t/awx-limit-option-regex/30017/2 "2019-03-29T13:35:22Z")

</div>

There’s a field in job template definition for limit
