Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find multiple occurrences of a string within big string
#1
How do i search for multiple occurrences of a string within a string please and return the text next to it (big string is a copy of web page)

e.g.

Big string to search with 4 lines=

"value 1= blue
value 2 = red
value 1 = green
value 3= black"


1. Search for ALL occurrences of value 1

Result=

"value 1= blue
value 1 = green"

OR

2. Search for all occurrences of value 3

Result=

"value 3 = black"

Thank you in advance


Messages In This Thread
find multiple occurrences of a string within big string - by mancunian - 06-12-2019, 12:53 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)