Android Question Regex help... Again

imbault

Well-Known Member
Licensed User
Longtime User
Hi, can I have help please, I'm looking for a regex Expression for :

1/ABS([FILE1].[LONG]) * [TABLESEC1].[LARG] *2.1 -3.5 / LOG([TABLE2].[ENER]) + SQRT(2)/4*MOD([TABLERES].[HERE],2)

In order to get :

[FILE1].[LONG]
[TABLESEC1].[LARG]
[TABLE2].[ENER]
[TABLERES].[HERE]

Sorry, I'm miserable in regex....
 

sorex

Expert
Licensed User
Longtime User
B4x has it's own testing ground for regex, which I find very useful

indeed, easier to test things than going over a few dozens of compiles.

but I had some cases where it worked fine on that page but not in the app so sometimes you need to tweak things a bit.
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
The online page is implemented in B4J. Regex should behave the same.

That's why I particularly like it, some of the testers listed in a Google search use different flavours, and do provide completely different results.
 
Upvote 0
Top