How to get the text with regex?

  • Thread starter Thread starter alexvorn2
  • Start date Start date
A

alexvorn2

Hi!, how to get the text that is between < and > and it's length is
less 10 characters and with out this "/" charachter ?
May be you will understand better on this example:

Text contains:

//This text to get because the text length is more that 10 characters
<
The quick brown fox jumps over the lazy dog
//This text to get too
<The quick brown fox jumps over the lazy dog>

//This text not to get because it use a "/" character
<
The quick brown fox jumps over the lazy dog /
//Not to get too
<
The quick
I have some regex codes that doesn't work , may be they will help:
<((.|\n)*?)> - to get the text between < and >
{1,100} - text length
 
alexvorn2 said:
Hi!, how to get the text that is between < and > and it's length
is less 10 characters and with out this "/" charachter ?
May be you will understand better on this example:

Please stay in your other thread. Thanks.


Armin
 
Back
Top