Xavi S

Xavi S

  • NA
  • 20
  • 6.2k

Build RegEx that match all characters with limit of 3 carriage return

Oct 24 2022 4:16 PM

I have a multi text area for the label called "Description" and that could match all characters,digits and special characters. Only condition is that it could have only maximum of 3 carriage return. If we have 4 carriage return hit, it should not match. 

Eg : Valid case 
123abc
fgtu566
ftuu344

Invalid Case (It should nonmatch since it have 4 carriage return)
123abc
fgtu566
ftuu344
ffrrtt3333


Answers (1)