unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* regexp to replace value in xml file
@ 2006-09-19 11:51 srinookala
  2006-09-19 11:52 ` Brendan Halpin
  0 siblings, 1 reply; 4+ messages in thread
From: srinookala @ 2006-09-19 11:51 UTC (permalink / raw)


I'd like to use regexp to replace values in a tag.

I'd like to replace

<msgRecvTime>
<DateTime>(any value here)</DateTime>


with

<msgRecvTime>
<DateTime>2003-01-07T12:00:00.000Z</DateTime>

How would I do this with emacs regexp.

I tried

<msgRecvTime>C-q C-j<DateTime>+</DateTime>

which doesn't find the string

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-19 14:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-19 11:51 regexp to replace value in xml file srinookala
2006-09-19 11:52 ` Brendan Halpin
2006-09-19 14:04   ` srinookala
2006-09-19 14:40     ` Brendan Halpin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).