From: srinookala@gmail.com
Subject: regexp to replace value in xml file
Date: 19 Sep 2006 04:51:39 -0700 [thread overview]
Message-ID: <1158666699.085244.86600@k70g2000cwa.googlegroups.com> (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
next reply other threads:[~2006-09-19 11:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 11:51 srinookala [this message]
2006-09-19 11:52 ` regexp to replace value in xml file Brendan Halpin
2006-09-19 14:04 ` srinookala
2006-09-19 14:40 ` Brendan Halpin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1158666699.085244.86600@k70g2000cwa.googlegroups.com \
--to=srinookala@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).