You should make an effort to learn more about Regular Expressions. A good place to get started is here. Another very helpful site is
regexlib[
^]; they have a large library of Regular Expressions. They also have a
RegEx tester[
^]. Also a very useful RegEx tool is available
here[
^].