# Using Regular Expressions

In Inaport, regular expressions are used to:

- match patterns in text, for example to filter records or to do a conditional test

- change data by finding something in the text and changing it to something else

There are a number of functions supplied which allow you to use Regular Expressions:

- contains() and match() will return true or false, based on whether a match is found
- find(), findWord(), findLine() will find and return matching portions of text
- replace() and textmap() allow you to make change to the text based on what you find
- snip() will cut portions of text