Home > front end >  Do not use regular expressions, for continuous and effective English letters.
Do not use regular expressions, for continuous and effective English letters.

Time:01-04

Microsoft: vs code ^ & amp; Adobe, photoshop, illustrator, fireworks, XD. * {/Google: gmail % $chrome, android.
This piece of content, for example, to find out from the inside with a , this paragraph should be: : adobe photoshop... This paragraph,

note: cannot use regular expressions, and better performance,
I guess with query each character encoding should be able to achieve, but have no idea, want to consult everybody here, thank you very much!

CodePudding user response:

The console knocked
 
Var TXT="Microsoft: vs code ^ & amp; Adobe, photoshop, illustrator, fireworks, XD. * {/Google: gmail % $chrome, android., "Max=", "temp=" "; for(var i=0; i 64 & amp; & L<91) | | (l> 96 & amp; & L<123)) {temp +=c} else {the if (temp!="" & amp; & Temp. Length> Max. Length) {Max=temp; } temp=""}}; The console. The log (Max, Max. Length);
  • Related