Answers for "regex for empty line"

1

regular expression to remove empty lines after text

Find: ^(?:[\t ]*(?:\r?\n|\r))+
Replace: ""
Posted by: Guest on April-29-2020
1

regex to match empty string

/^$/ // match exactly ""
Posted by: Guest on July-31-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language