Tuesday, March 14, 2023

Extract the non-tagged contents of HTML in browser

Yes, you can use the RegularExpression of cource. But, there is cool idea, how to extract tagged content in browser:

JS String padding

Sometimes we want the string to have a specific length. We can use the padStart and padEnd methods.