Welcome To Snipplr


Everyone's Recent Snippets Tagged replace



1 2 3 4 5 Next »
\Q...\E perl quoting means no ugly escaping in the regex. find's -print0 with xargs -0 is the secret to handling files with spaces in their names.
1 2087 posted 18 years ago by ches
list the exceptions where you don't want to replace in the rewrite rules before the one that matches the underscore, and finish them with [L], otherwise they'll get replaced too. [N] means rerun the whole replacing stuff once the line matched... c...
0 2578 posted 18 years ago by eszpee
This allows you to replace the bog standard browser button (form buttons) with any image you wish.
9 2896 posted 18 years ago by 1man
Strip out non-alphanumeric characters. Very useful for use with filenames.
3 1954 posted 18 years ago by andyhartleeds
actionscript crawler find replace
1 1207 posted 19 years ago by jumikan
Why doesn't this work?
1 1452 posted 19 years ago by gaunab
Using this command makes it easy to do a project-wide search-and-replace
0 1378 posted 19 years ago by collin
Builds a function which replace some caracters
1 1747 posted 19 years ago by dandyna
Usefull Regular Expressions enhancement. Simplifies standard string operations escaping special chars. And also saves precompiled REs for a speed increase.
1 1680 posted 19 years ago by cochambre
3 2001 posted 19 years ago by jhenry
1 2 3 4 5 Next »