I'm very new to Regular expressions. I have a text "cat/1.39 bla, dog" I know that ^ is used to match a string that begins with something and $ is used to match something that ends with something.
This is what I could write -
cat/[^,\s;] --> matches "cat/1.39 bla, monkey" But "cat/[^,\s;].*dog$" doesn't match a string that begins with a cat and ends with a dog
Thanks for any help.