0
Why the ^ matches a begining character or group but the $ matches only the last character not a group
^ $ for matching
1 ответ
+ 2
^ and $ in regular expressions work in the same way, the only difference is the first is anchor to start/begin, rather the second anchor to end ( depends od options to be real end of string or treated as end of lines in multi-lines strings ).
Post your regex if you've trouble with one... if you want to have a chance to be helped ^^