Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Regex :(

$
0
0

I'm trying to wrap my head around this and I'm sure I'm missing something simple. I need a regular expression to match " 0 KB " (space zero space KB space). I've got the following expression, but it only seems to match the " 0 K" (space zero space K). How can I grab the "B" too?

The expression I'm using is: [\d\s][0,KB]

Thanks.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>