Jump to content

crop text


Lazarus
 Share

Recommended Posts

Hi! i got this variable:

$var = "<script=blablabal></script>Allyourbase<br><br><img src=blabla>"

I need only "Allyourbase" from this, how can i remove html stuffs from this text? btw the HTML elements can be different every time --> trimming is not an option

Thank you!

and sorry 4 poor english -_-

Link to comment
Share on other sites

  • Moderators

Hi! i got this variable:

$var = "<script=blablabal></script>Allyourbase<br><br><img src=blabla>"

I need only "Allyourbase" from this, how can i remove html stuffs from this text? btw the HTML elements can be different every time --> trimming is not an option

Thank you!

and sorry 4 poor english :lmao:

Look for _SRE_Between() in search.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...