Filter by using regular expression

Filter by using regular expression

Input
String
Regular expression (String)
Output (String)

The function of this online utility is to filter by using regular expression.

For example, filtering the string:

didik
didn't
difference
don't
done
by using the regular expression ^d.*n't$ will returns:
didn't
don't
.