Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Credit card validation #5

Open
hammadsaedi opened this issue Oct 28, 2023 · 3 comments
Open

Implement Credit card validation #5

hammadsaedi opened this issue Oct 28, 2023 · 3 comments
Assignees
Labels

Comments

@hammadsaedi
Copy link
Owner

Background:
Credit card validation is a crucial component for many web applications, ensuring the security and accuracy of payment processes. In our project, Regex Pro we need to add credit card validation functionality using regular expressions.

Task:
Your task is to implement credit card validation using regular expressions. Here are the requirements for this task:

  1. Implement the regular expression pattern for credit card validation.
  2. Add regular expression in validationForms in pages.js

Additional Information:

  • You can refer to the existing validation forms as examples.
  • The regular expression pattern for credit card validation should cover common credit card formats, including Visa, MasterCard, and others.
  • You can find resources online to help with regular expressions for credit card validation.

Getting Started

  1. Fork this repository to your GitHub account.
  2. Create a new branch for this task.
  3. Implement the changes as described.
  4. Commit your changes and push them to your fork.
  5. Open a pull request to this repository.

Additional Notes:

  • This is a "Good First Issue" suitable for contributors who are new to the project and want to get involved.
  • Please reach out if you have any questions or need assistance with the task.

We look forward to your contribution! 😄

@hammadsaedi hammadsaedi added the good first issue Good for newcomers label Oct 28, 2023
@hammadsaedi hammadsaedi moved this to Todo in Regex Pro Oct 29, 2023
@farehiqbal
Copy link
Contributor

I am looking forward to get involved in this project so I will start by contributing to this issue.
Here's my approach:

  • I will do research on credit card validations using regular expressions first.
  • I will develop a regular expression pattern that covers the most common credit card formats. This will ensure the accuracy.
  • I will add the regular expression pattern to the appropriate location in the validationForms in pages.js.
  • I will perform some manual testing before pr/mr.
  • I will try my best to complete as soon as i am assigned the task. Within 24 hrs probably.

Please assign the issue to me. :)

@hammadsaedi
Copy link
Owner Author

Best of luck. 🫶🏻

@hammadsaedi hammadsaedi moved this from Todo to In Progress in Regex Pro Oct 30, 2023
@farehiqbal
Copy link
Contributor

Opened a pr, pls check :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: In Progress
Development

No branches or pull requests

2 participants