Search
How to search a sub-string in the string.
Parameters:
| Name | Type, value | Description |
|---|---|---|
| pattern | Regular expression, required | A required fragment |
| name | String, default data | The name of the variable for result |
| index | Integer, default 0 | The result index in the regular expression |
| all | Boolean: true, false; default true | To search for one entry or all of them |
| prefix | String, default empty | A prefix, which will be added to the result |
| postfix | String, default empty | An ending, which will be added to the result |
Example:
Set a <img\ src="image.jpg"\ title="Image\ title"\ /> # Search for image title Filter Search a WithParams pattern=#title="([^"]+)"# name=title index=1 Dump a title
Result:
a => <img src="image.jpg" title="Image title" /> title => Image title
| Replace | Standart Filters | SearchImg |

