Convert whitespace to underscores

/ Published in: Regular Expression
Save to your folder(s)

I use in textmate / e to convert whitespace to underscores.

Copy this code and paste it in your HTML
  1. Find
  2. (id=")(\w+)(\s)
  3. Replace
  4. $1$2_

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.