# Need help in exploring how to use regular expression to find the correct file name in a play book

**URL:** <https://forum.ansible.com/t/need-help-in-exploring-how-to-use-regular-expression-to-find-the-correct-file-name-in-a-play-book/24310>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [April 25, 2017, 5:05pm UTC](https://forum.ansible.com/t/need-help-in-exploring-how-to-use-regular-expression-to-find-the-correct-file-name-in-a-play-book/24310 "2017-04-25T17:05:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dick\_Davies](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@Dick\_Davies](https://forum.ansible.com/u/Dick_Davies)\
**Post date:** [April 25, 2017, 5:05pm UTC](https://forum.ansible.com/t/need-help-in-exploring-how-to-use-regular-expression-to-find-the-correct-file-name-in-a-play-book/24310/1 "2017-04-25T17:05:46Z")

</div>

Might be better to list the files you want to edit as vars on each of the hosts  
in your inventory.
