regex - Regular expression for matching \n and space -


i trying use regular expression within perl script parse file match:

space , "\n" (newline) in alternating manner - i.e first match space "\n", space (which on new line in file... , on)

thanks, -ad

try this:

(^ \n)+ 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -