I have a text area where each line contains Integer value like follows
1234 4321 123445
I want to check if the user has re
A simple regex should be efficent to check your textarea:
/\s*\d+\s*\n/g.test(text) ? "OK" : "KO"