jQuery Replace

PHOTO EMBED

Sat Nov 12 2022 18:32:54 GMT+0000 (UTC)

Saved by @JureVidmar #javascript

jQuery Replace

x.replace(/(\r\n|\n|\r)/gm, ""); //replaces line breaks \n

x.replace(/[A-Za-z]/g, "") //replaces all letters

x.trim() // removes whitespaces
content_copyCOPY