How to pick up some text between long text

I want to pick up a text from the long text for example
the long text=1234567890
my input = ( Means I want to pick up text between ) 23 or 89
please help me in this

You can use segment the text block but you should be knowing the palace it have to start

Segment Text (given text)
Start 3
Length 4

(Instead of 4 you can use length if the text - 6), depending upon your needs you can change it

1 Like

but the length of the text is changed every time only 23 and 89 is a contestant
it is all random

ex
1, 123djsdfjh89dbfh
2.1223d939489
3. 12bhjbubbbhb9089
its changes every time

It can be done using Regular Expression Extension by @Kevinkun

image

1 Like

Thank you so Much

1 Like

If problem solved please mark solution :white_check_mark: in order to help others with the same problem

pls keep in mind the result of Regex.getMatches is a LIST.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.