I’m looking for a function which will try to find and return whatever was matched by the regular expression \\(\\S-\\) and probably nil if nothing was found. The search should start from (point) and search to the end of the document.
I’m looking for a function which will try to find and return whatever was
Share
Use
re-search-forwardandmatch-string:If you don’t want point to move, wrap it in a
save-excursion: