|
From: | Le Wang |
Subject: | Re: string searching and saving results to a variable |
Date: | Wed, 16 Feb 2011 19:28:58 +0800 |
(setq dog (buffer-substring(re-search-backward "<h1\\|<h2\\|<h3\\|<h4\\|<h5" nil t)(re-search-forward "</h1>\\|</h2>\\|</h3>\\|</h4>\\|</h5>" nil t)))
[Prev in Thread] | Current Thread | [Next in Thread] |