Code Monkey home page Code Monkey logo

Comments (5)

BaseMax avatar BaseMax commented on June 15, 2024

Persian

Arabic alphabet + ژ + چ

ا ب پ ت ث ج چ ح خ د ذ ر ز ژ س ش ص ض ط ظ ع غ ف ق ک گ ل م ن و ه ی

۰۱۲۳۴۵۶۷۸۹

http://www.fileformat.info/info/unicode/block/arabic/list.htm
https://en.wikipedia.org/wiki/Persian_alphabet

e.g:

function justPersian(input){
    var format = /^[\u0600-\u06FF\s]+$/;
    if (!format.test(input)) {
        alert("Error!");
    }
}

from filterinputjs.

BaseMax avatar BaseMax commented on June 15, 2024

Arabic

ا ب پ ت ث ج ح خ د ذ ر ز س ش ص ض ط ظ ع غ ف ق ک گ ل م ن و ه ی

٠١٢٣٤٥٦٧٨٩

http://www.fileformat.info/info/unicode/block/arabic/list.htm
https://en.wikipedia.org/wiki/Arabic_alphabet

e.g:

function justArabic(input){
    var format = /^[\u0600-\u06FF\s]+$/;
    if (!format.test(input)) {
        alert("Error!");
    }
}

from filterinputjs.

BaseMax avatar BaseMax commented on June 15, 2024

English

A a B b C c D d E e F f G g H h I i J j K k L l M m N n O o P p Q q R r S s T t U u V v W w X x Y y Z z

0123456789

https://en.wikipedia.org/wiki/English_alphabet

e.g:

function justEnglish(input){
    // var format = /^[a-zA-Z0-9\s]+$/;
    var format = /^[a-zA-Z\s]+$/;
    if (!format.test(input)) {
        alert("Error!");
    }
}

from filterinputjs.

krthr avatar krthr commented on June 15, 2024

Hey, Which languages ​​do we use?

from filterinputjs.

BaseMax avatar BaseMax commented on June 15, 2024

Hey, Which languages ​​do we use?

At first, we focus to complete the filter's items.
Next, we can work on this issue. (At the first: English)

from filterinputjs.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.