$filename=~/.*\.txt$/ # matches anything ending with .txt;
In reply to Re: How do I escape special characters like . / or in a regular expression?
by vroom
in thread How do I escape special characters like . / or | in a regular expression?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |