CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 17 Jul 2025 06:24:38 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100103170055
location: https://web.archive.org/web/20100103170055/https://answers.oreilly.com/tag/replace
server-timing: captures_list;dur=0.462294, exclusion.robots;dur=0.019848, exclusion.robots.policy;dur=0.009494, esindex;dur=0.008721, cdx.remote;dur=91.370981, LoadShardBlock;dur=386.600718, PetaboxLoader3.datanode;dur=195.590002, PetaboxLoader3.resolve;dur=136.451121
x-app-server: wwwb-app210
x-ts: 302
x-tr: 507
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app210; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Thu, 17 Jul 2025 06:24:39 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Sun, 03 Jan 2010 17:00:58 GMT
x-archive-orig-server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8
x-archive-orig-x-powered-by: PHP/5.2.8
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sat, 03-Jan-2009 17:00:57 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-set-cookie: answers_session_id=deleted; expires=Sat, 03-Jan-2009 17:00:57 GMT; path=/; domain=.oreilly.com; httponly
x-archive-orig-cache-control: ,no-cachemust-revalidate, max-age=0
x-archive-orig-expires: 0
x-archive-orig-pragma: no-cache
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 03 Jan 2010 17:00:55 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 04 Nov 2009 00:03:33 GMT", ; rel="prev memento"; datetime="Wed, 04 Nov 2009 00:03:33 GMT", ; rel="memento"; datetime="Sun, 03 Jan 2010 17:00:55 GMT", ; rel="next memento"; datetime="Mon, 18 Jul 2011 03:04:07 GMT", ; rel="last memento"; datetime="Thu, 23 May 2013 16:41:25 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_13_20100103133925_crawl100-c/52_13_20100103170051_crawl100.arc.gz
server-timing: captures_list;dur=0.713717, exclusion.robots;dur=0.030123, exclusion.robots.policy;dur=0.014180, esindex;dur=0.015177, cdx.remote;dur=11.757860, LoadShardBlock;dur=154.626591, PetaboxLoader3.datanode;dur=239.153741, PetaboxLoader3.resolve;dur=225.603124, load_resource;dur=317.493161
x-app-server: wwwb-app210
x-ts: 200
x-tr: 575
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
replace Questions and Answers - O'Reilly Answers
Welcome
O'Reilly Answers is a community site for sharing knowledge, asking questions, and providing answers that brings together our customers, authors, editors, conference speakers, and Foo (Friends of O'Reilly). More »
Topics: replace
Feed Subscription
Email Subscription

Please sign in or register to post.

Please sign in or register to post.
-
How to replace all matches in a regular expression
By Jan Goyvaerts: 18 September 2009 - 09:56 AM
If you want to replace all matches of the regular expression before with the replacement text after, try one of the following examples:C#You can use the static call when you process on...
Pages:
- 1
![]() ©2009, O'Reilly Media, Inc. (707) 827-7000 / (800) 998-9938 All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. |
About O'Reilly Academic Solutions Authors Contacts Customer Service Jobs Newsletters O'Reilly Labs Press Room Privacy Policy RSS Feeds Terms of Service User Groups Writing for O'Reilly |
Content Archive Business Technology Computer Technology Microsoft Mobile Network Operating System Digital Photography Programming Software Web Web Design |
More O'Reilly Sites O'Reilly Radar Ignite Tools of Change for Publishing Digital Media Inside iPhone makezine.com craftzine.com hackszine.com perl.com xml.com Partner Sites InsideRIA java.net O'Reilly Insights on Forbes.com |