Regular Expression to validate on continuous character or numbers in JavaScript? -


i need validate if string presents continuous characters abc, def, ghi or 123,234,345,456 , on using javascript, wants through error or alert message. there possibilities match patterns or expression validate such scenario. please if come across, let me know asap.

thanks in advance!!!

a regular expression not way go one. better loop through characters in string checking if each 1 greater last using str.charcodeat().


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -