• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ReFind multiple instances of a string

Guest
Feb 11, 2008 Feb 11, 2008

Copy link to clipboard

Copied

Can you use ReFind to find multiple instances of a string? I know I could use getOccuranceCount, but I'd rather just use ReFind.

thanks.
TOPICS
Advanced techniques

Views

301

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Feb 11, 2008 Feb 11, 2008
Thanks Adam,

I think I found my solution. It's just not very elegant.

getOccuranceCount is a function that's out there that tells you how many times a string occurs. It's helpful, but I needed the string that it returned.

Votes

Translate

Translate
LEGEND ,
Feb 11, 2008 Feb 11, 2008

Copy link to clipboard

Copied

> Can you use ReFind to find multiple instances of a string?

Not in a single statement, no. But you could use reMatch(). It has
limitations - it doesn't capture subexpressions - but it might be OK for
what you need.


> getOccuranceCount

Wazzat?

--
Adam

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 11, 2008 Feb 11, 2008

Copy link to clipboard

Copied

LATEST
Thanks Adam,

I think I found my solution. It's just not very elegant.

getOccuranceCount is a function that's out there that tells you how many times a string occurs. It's helpful, but I needed the string that it returned.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation