[Free & Open source] Extractor Extension

With this extension you can extract numbers from a string which contains both text and number or extract text from a string which contains both text and number

Blocks:-
IMG_20220123_171452

Demo:-

Download:-
Extractor.aix (5.3 KB)

Aia:-
Extractor.aia (6.0 KB)

Source Code:-

6 Likes

If letters and numbers are mixed up, e.g. "F1a2r3a4z5" or "1Fa2r3a4z5"

getting the numbers adds a space between each number
getting the text doesn't

1 Like

Have you tested this?
If getting number adds space between each number then I will update my extension and remove that space

How would I know if I hadn't tested it ?

2 Likes

OK I will edit my code till use

replace all text your text
segment=" "
replacement=""

Why, it makes sense the way it is, see here:

@Johannes_Ai2

in which case the extension should split the letters with a space as well?

1 Like

Yes I have found error the error was I am replacing with a space in ExtractNumber so it is happening

I have fixed that issue
Extractor.aia (6.0 KB)
Extractor.aix (5.3 KB)

4 Likes

this can be done by RegEx extension

5 Likes

Now this extension is open source

2 Likes

A post was split to a new topic: How can i extract an apk