Skip to content
geeksforgeeks
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Tutorials
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
  • Practice
    • Build your AI Agent
    • GfG 160
    • Problem of the Day
    • Practice Coding Problems
    • GfG SDE Sheet
  • Contests
    • Accenture Hackathon (Ending Soon!)
    • GfG Weekly [Rated Contest]
    • Job-A-Thon Hiring Challenge
    • All Contests and Events
  • DSA
  • Practice Problems
  • Python
  • C
  • C++
  • Java
  • Courses
  • Machine Learning
  • DevOps
  • Web Development
  • System Design
  • Aptitude
  • Projects
Similar Topics
Web Technologies
39.9k+ articles
JavaScript
11.6k+ articles
HTML
5.1k+ articles
JavaScript-Questions
2k+ articles
JavaScript-Methods
520+ articles
JavaScript-DSA
480+ articles
javascript-string
240+ articles
javascript-functions
120+ articles
ES6
90+ articles
JavaScript-Properties
90+ articles

JavaScript-RegExp

75 posts
JavaScript - Validate Password in JS
Last Updated: 16 January 2025
To validate a password in JavaScript regex to ensure it meets common requirements like length, uppercase letters, lowercase letters, numbers ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript-Questions
JavaScript-Program
JavaScript - How to Use a Variable in Regular Expression?
Last Updated: 04 December 2024
To dynamically create a regular expression (RegExp) in JavaScript using variables, you can use the RegExp constructor. Here are the various ...read more
Web Technologies
JavaScript
Picked
JavaScript-RegExp
JavaScript-Questions
JavaScript - How to Validate Form Using Regular Expression?
Last Updated: 03 December 2024
To validate a form in JavaScript, you can use Regular Expressions (RegExp) to ensure that user input follows the correct format. In this art ...read more
Web Technologies
JavaScript
HTML
CSS
JavaScript-RegExp
JavaScript-Questions
Blogathon
Blogathon-2021
JavaScript-Projects
Similar Topics
Web Technologies
39.9k+ articles
JavaScript
11.6k+ articles
HTML
5.1k+ articles
JavaScript-Questions
2k+ articles
JavaScript-Methods
520+ articles
JavaScript-DSA
480+ articles
javascript-string
240+ articles
javascript-functions
120+ articles
ES6
90+ articles
JavaScript-Properties
90+ articles
JavaScript - How to Mask All Characters Except the Last?
Last Updated: 07 December 2024
Here are the different methods to replace characters except the last with the specified mask character in JavaScript.1. Using slice() and re ...read more
Web Technologies
JavaScript
javascript-string
javascript-functions
Picked
JavaScript-DSA
JavaScript-RegExp
JavaScript-Questions
JavaScript - How to Replace Line Breaks With 'br' Tag?
Last Updated: 06 December 2024
Here are the different methods to replace line breaks with br tag in JavaScript.1. Using replace() with Regular ExpressionThe regular expres ...read more
Web Technologies
JavaScript
javascript-string
JavaScript-DSA
JavaScript-RegExp
JavaScript-Questions
JavaScript RegExp Reference
Last Updated: 05 December 2024
RegExp stands for Regular Expression. A regular expression is a sequence of characters that forms a search pattern. The search pattern can b ...read more
Web Technologies
JavaScript
JavaScript-RegExp
How to Validate Email Address using RegExp in JavaScript?
Last Updated: 15 April 2025
Validating an email address in JavaScript is essential for ensuring that users input a correctly formatted email. Regular expressions (RegEx ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript - How To Check if String Contains Only Digits?
Last Updated: 06 December 2024
A string with only digits means it consists solely of numeric characters (0-9) and contains no other characters or symbols. Here are the dif ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript - Validate URL in JS
Last Updated: 16 January 2025
We will explore different approaches to validating URLs in JavaScript. These approaches include using regular expressions (regex), the URL c ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript RegExp exec() Method
Last Updated: 05 December 2024
The RegExp.exec() method in JavaScript allows you to search for a pattern in a string and retrieve detailed information about the match. Unl ...read more
Web Technologies
JavaScript
HTML
JavaScript-RegExp
JavaScript-Methods
JavaScript RegExp test() Method
Last Updated: 28 November 2024
The RegExp test() Method in JavaScript is used to test for match in a string. If there is a match this method returns true else it returns f ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript-Methods
JavaScript RegExp \s Metacharacter
Last Updated: 06 December 2024
The \s metacharacter in JavaScript regular expressions matches any whitespace character. This includes spaces, tabs, form feeds, line breaks ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript RegExp [0-9] Expression
Last Updated: 06 December 2024
The [0-9] expression in JavaScript regular expressions matches any single digit between 0 and 9. It is a character class used to represent a ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript RegExp \W Metacharacter
Last Updated: 06 December 2024
The \W metacharacter in JavaScript regular expressions matches any character that is not a word character. A word character is defined as:An ...read more
Web Technologies
JavaScript
JavaScript-RegExp
JavaScript RegExp (Regular Expression)
Last Updated: 03 December 2024
A regular expression is a special sequence of characters that defines a search pattern, typically used for pattern matching within text. It' ...read more
Web Technologies
JavaScript
javascript-string
JavaScript-RegExp
1 2 3 4 5 >>
Last
1 2 3 4 5 >>
Last
1 2 3 4 >>
Last
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox