Jump to content
UBot Underground

Extract text with "Text on left side" - "text on right side"


Recommended Posts

Hello.

 

Is it possible to extract parts of a text. And definde the exact position with "Text on left side" and "text on right side".

So that everything in between those two is extracted? No matther what fomart it has?

 

Or is that something that can't be done with Regex?

 

Thanks in advance for your help

Dan

Link to post
Share on other sites

 

You can simplly do that with regex:

(?<=Text On The Left Side).*?(?=Text On The Right Side)

 

 

AWESOME!! This works perfectly! Thanks a lot for your help.

 

In 50 years I will probably also start to understand how this regex stuff works... 

 

Cheers

Dan

Link to post
Share on other sites

Regular expressions is one of the best things ever invented. Only the snowblower, the electric screwdriver and the cable ties beats that invention. :)

  • Like 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...