imbault Well-Known Member Licensed User Longtime User Feb 15, 2016 #1 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....
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....
stevel05 Expert Licensed User Longtime User Feb 15, 2016 #2 Try this: B4X: \[\w*\]\.\[\w*\] B4x has it's own testing ground for regex, which I find very useful: http://basic4ppc.com:51042/regex/index.html There may well be a better way to do this, I don't use regex that much. Upvote 0
Try this: B4X: \[\w*\]\.\[\w*\] B4x has it's own testing ground for regex, which I find very useful: http://basic4ppc.com:51042/regex/index.html There may well be a better way to do this, I don't use regex that much.
imbault Well-Known Member Licensed User Longtime User Feb 15, 2016 #3 stevel05 said: Try this: B4X: \[\w*\]\.\[\w*\] B4x has it's own testing ground for regex, which I find very useful: http://basic4ppc.com:51042/regex/index.html There may well be a better way to do this, I don't use regex that much. Click to expand... Thank you a lot for that quick answer. Yours Upvote 0
stevel05 said: Try this: B4X: \[\w*\]\.\[\w*\] B4x has it's own testing ground for regex, which I find very useful: http://basic4ppc.com:51042/regex/index.html There may well be a better way to do this, I don't use regex that much. Click to expand... Thank you a lot for that quick answer. Yours
S sorex Expert Licensed User Longtime User Feb 16, 2016 #4 stevel05 said: B4x has it's own testing ground for regex, which I find very useful Click to expand... 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 said: B4x has it's own testing ground for regex, which I find very useful Click to expand... 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.
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2016 #5 sorex said: 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. Click to expand... The online page is implemented in B4J. Regex should behave the same. Upvote 0
sorex said: 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. Click to expand... The online page is implemented in B4J. Regex should behave the same.
stevel05 Expert Licensed User Longtime User Feb 16, 2016 #6 Erel said: The online page is implemented in B4J. Regex should behave the same. Click to expand... 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
Erel said: The online page is implemented in B4J. Regex should behave the same. Click to expand... 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.