Welcome To Snipplr


Everyone's Recent Snippets Tagged replace



« Prev 1 2 3 4 5
Replace a string with another one in many files
0 3841 posted 9 years ago by rm1984
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0 3499 posted 11 years ago by johansonkatherine
The following code sample shows how developers can replace multiple texts in a single API call in a PDF file using Aspose.Pdf for Cloud API in their applications. Developers can use Aspose REST API with any language: .NET, Java, PHP, Ruby, Rails, Pyt...
0 2924 posted 11 years ago by johansonkatherine
Replace string mysql
0 3350 posted 11 years ago by ironcrema
The Aspose.Note for .NET API allows developers to open files & manipulate elements of OneNote books & export them to PNG, GIF, JPEG, BMP and PDF formats. The following code sample shows developers how to save OneNote File as an image in C#/.NET
0 3652 posted 11 years ago by johansonkatherine
MySQL has a handy and simple string function REPLACE() that allows table data with the matching string to be replaced by new string. This is useful if there is need to search and replace a text string which affects many records or rows, such as chang...
0 3744 posted 11 years ago by apphp-snippets
0 3387 posted 12 years ago by temanuel
Replaces string 'sth' with 'sth-new' in all files in current directory.
0 1379 posted 12 years ago by ef
Find and replace
0 1549 posted 12 years ago by inreflection7
As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques
0 2341 posted 13 years ago by symsec
As portrayed by the example found in the [Advanced Bash Scripting guide](http://tldp.org/LDP/abs/html/here-docs.html) this demonstrates a few techniques
0 2268 posted 13 years ago by symsec
If someone put text into an input field (or automatic e.g. with a 2d barcode scanner) and you want to replace a part of the input (pattern) then will help this small jquery code snippet.
0 1843 posted 13 years ago by bassdas
replace special characters
0 1319 posted 13 years ago by Narayon
Removes anything that isn't a digit from input on complete.
0 1443 posted 13 years ago by vagrantradio
If you have a Table which has a Column of type char or varchar or even text, and you want to change a portion of text in it for example a path. In this case you need to change the same text with new one in every records.
0 1815 posted 13 years ago by klovera
Converte tutti gli \n in <br>
0 1220 posted 13 years ago by kajinka13
Search for a string, if matched replace with second provided paramater. Third parameter is the variable whose value is the string you'd like to search.
0 1441 posted 13 years ago by inreflection7
0 1617 posted 14 years ago by pflangan
Used to update a database field using search replace.
0 1246 posted 14 years ago by carouselcreative
two awesome bits: using ''.replace() perform an action (other than replacing it) on some text, and a simple way to concatenate strings with a separator (retardedly simple but it always confuses me)
0 1219 posted 14 years ago by ultranaut
Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway! This code looks for the Yen since within a <span></span...
0 1251 posted 14 years ago by cpres
0 1308 posted 14 years ago by dato
image rollovers in jquery are usually super easy. However it sucks when working with absolute image paths - like a separate media server or CDN. Heres a quick snippet using substring and lastIndexOf to swap out the image src.
0 1397 posted 14 years ago by inreflection7
0 1327 posted 14 years ago by vigoncas
0 1241 posted 14 years ago by ragnarokkrr
« Prev 1 2 3 4 5