What does ^$ regex mean? -


this question has answer here:

what ^$ regex mean? know ^ signifies put anchor @ start of string , $ @ end of string. mean ^$ signifies between first , last character?

in regex ^$ matches empty line.

demo


Comments