Regex Text Editor

Using Regex to find lines that end with an expression

Here is a regular expression to find lines that end in the word ‘ Fetch’. Note the single space before the word Fetch.

^.* Fetch$

To specify that we need an entire line we place what we’re looking for between ^ and $. To match the parts of the line before our regular expression, we use the .* notation.

Leave a Reply

Your email address will not be published. Required fields are marked *

ERROR: si-captcha.php plugin: GD image support not detected in PHP!

Contact your web host and ask them to enable GD image support for PHP.

ERROR: si-captcha.php plugin: imagepng function not detected in PHP!

Contact your web host and ask them to enable imagepng for PHP.