# disbale global replace in replace module

**URL:** <https://forum.ansible.com/t/disbale-global-replace-in-replace-module/23027>\
**Category:** Ansible Project\
**Created:** [November 15, 2016, 2:43pm UTC](https://forum.ansible.com/t/disbale-global-replace-in-replace-module/23027 "2016-11-15T14:43:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alix\_Ak](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Post date:** [November 15, 2016, 2:43pm UTC](https://forum.ansible.com/t/disbale-global-replace-in-replace-module/23027/1 "2016-11-15T14:43:42Z")

</div>

When using replace module the regexp will be replaced globally.  
How could i limit it to the first found entry ? I didn’t find a parameter that would help 😕
