mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
a09ce4bd87
commit
bb1a907823
1 changed files with 2 additions and 0 deletions
|
@ -384,6 +384,8 @@ To match strings against a regex, use the "match" or "search" filter::
|
|||
|
||||
'match' will require a complete match in the string, while 'search' will require a match inside of the string.
|
||||
|
||||
.. versionadded:: 1.6
|
||||
|
||||
To replace text in a string with regex, use the "regex_replace" filter::
|
||||
|
||||
# convert "ansible" to "able"
|
||||
|
|
Loading…
Reference in a new issue