[Free/OS] StringValidation

Description : An extension for fast and simple string validation

Add a picture of all the blocks


Regex & Pattern
Untitled4


Download Aix :

com.mh.stringvalidate.aix (15.5 KB)

Download AIA :

validate.aia (21.1 KB)

  • Should I add instructions for using the extension?
  • YES
  • NO

0 voters

  • Do you want this extension to be open source or not?
  • Sure
  • Not important

0 voters

Finally, if you find my extension useful, please support me

12 Likes

Congratulations for the extension.

:clap:

BTW, if you provide some screenshot, it will more loveliness to your extension

1 Like

Of course… please add a short documentation of your blocks

And don’t forget to follow the naming conventions

Taifun

1 Like

Now that the survey is over, I have found that most of the votes need to write the uses of the blocks and make the extension open source
so let’s get started


blocks

Check if the string contains the seed

blocks(1)

Check if the string contains only letters

blocks(2)

Check if the string contains only letters and numbers

blocks(3)

Check if a string is a boolean

blocks(4)

Check if the string is a ip address

blocks(5)

Check if the string is a email address

blocks(6)

Check if the string is a US phone number

blocks(7)

Check if the string has a length of zero

blocks(8)

Check if a string is base64 encoded

blocks(9)

Check if the string represents a decimal number, such as 0.1, .3, 1.1, 1.00003, 4.0, etc

blocks(10)

Check if the string is of atleast the specified length

blocks(11)

Check if the string is of atmost the specified length

blocks(12)

Check if the string is all lowercase

blocks(13)

Check if the string is all uppercase

blocks(14)

Check if the string is a valid MD5 hash

blocks(15)

Check if the string contains only numbers

blocks(16)

Check if the string is a MAC address

blocks(17)

Check if the string is valid JSON

blocks(18)

Check if the string is an integer

blocks(19)

Check if the string is a hexadecimal number

blocks(20)

Check if the string is a pincode

blocks(21)

Check if the string is a hexadecimal color

blocks(22)

Check if the string has atleast one digit

blocks(23)

Check if the string has atleast one letter

blocks(24)

Check if the string has atleast one lowercase character

blocks(25)

Check if the string has atleast one uppercase character

blocks(26)

Check if the string has atleast one special character

blocks(27)

Check if the string is a valid credit card number

blocks(28)

Validate string against a regex

blocks(29)

Validate string against a pattern

blocks(30)

Find in string against a regex

blocks(31)

Find in string against a pattern

All of blocks return True or False

Finally :sweat_smile: :sweat_smile:

extension now is open source :

lib used :

1 Like

Some may ask and what can I benefit from this extension
I will explain to you with an example:-

You can use it, for example, to check the strength of your password
like that :point_down:

And make it = true
and other things you can discover it for yourself .

1 Like

unfortunately you still do not follow the naming conventions…
all methods start with a capital letter

containsSubstring → ContainsSubstring
etc

see again

Also let me suggest to rename the extension from Stringvalidate to StringValidate

Taifun

3 Likes

Great!!

But Regex extension will do this work with limited block I think

1 Like

I was going to fix it in the next update, sorry

1 Like

I know ,but I found it with lib so I said why I don’t add it

A post was split to a new topic: How can I use regex

Topic close at OP’s request

Topic re opened at OP’s request

1 Like

thank you for your effort , but i have found that

ISALPHA with (arabic) will return False , isalpha->(محمد)=false !

ISPHONENUMBER return false with (201033033000) , (+201033033000) , or (00201033033000)

thank you

وشكرا ليك

1 Like

It is work for english onley br0

Please read instructions of extension first

This post was flagged by the community and is temporarily hidden.