Hi all,
Is the operation in the subject line possible?
More info (maybe I'm asking the wrong question):
I have a (long) list of URLs, and want to categorise them. The
categories themselves could be pretty broad: news sites, search engines,
music sites, etc. Similar URLs (different pages on the same site) come
up many times. So what I'd like to do is define regexes to say "If the
URL has 'guardian.co.uk' in it, make it a 'News' site".
Sheet 1 (list to process; I want to insert the categorising function in
col B)
====
A | B
----
google.com
cnn.com/foo
guardian.co.uk/foo
duckduckgo.com
cnn.com/bar/baz
bing.com
Sheet 2 (columns of site name regexes; col A is news sites, B is search
engines, etc)
====
A | B
----
cnn | google
guardian | duckduckgo
| bing
The SEARCH function doesn't seem to take a range or array as its findtext.
Any ideas on how to go about this?
Many thanks!
--Ryan
--
Unsubscribe instructions: E-mail to users+help@global.libreoffice.org
In case of problems unsubscribing, write to postmaster@documentfoundation.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- [libreoffice-users] Match cell against any of range of regexes? · Ryan Jendoubi
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.