javascript regex for whitespace or   -


I'm looking for JavaScript regex for white space. I'm checking several different strings in a loop and I There is a need to find the stars in which they have big white space.

The string of the white space is created in a loop, like this ...

Please enter this code as var whitespace = "& amp; nbsp;" Read as , then the loop only processes more non-breaking spaces on it.

  var white space = "& amp;" {Var place = "& amp; nbsp;" for Var (x = 0; x & lt; 20; x ++) }  

Then it is used later in the string connector.

  some time ago + white space + some data;  

I need to identify the straps that contain whitespace (20 spaces).

Should I just do a (white location)

Any help is appreciated.

Cheers, CK

in San Diego if you have 20 locations White space is defined, you can

  var input = whitespace + some Data; If there is no need to use regex (input.indexOf (white space)! = -1) {// input is white space}  

when you can do without it .


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -