Sign in to follow this  
Followers 0
PocketPig

Read string between 2 known strings in html

2 posts in this topic

the problem is the following: in the html-source of a page is a tag with a variable in itself, the tag itself is included 10 or more times in the file...(its like this: "<bla anything="1" bla="5">user1</bla>, the tag repeats often, but the part of "user1" changes, not only the letters but also the length)

can you tell me how I search for user1, user2 etc? I have to search bewteen the 2 known tags <bla anything="1" bla="5"> AND </bla>, so i just need the string bewteen those two tags, but i dont know how to pick it out...I hope youll help me again, thanks

cya

Share this post


Link to post
Share on other sites



There is a neat little function called _StringBetween() who will help you very much in this case :D


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0