Tag: regex
Posts of Tag: regex
  1. Java Regular Expressions - Validate Phone Number

    Regular Expressions (RegEx) are a powerful tool and help us match patterns in a flexible, dynamic and efficient way, as well as to perform operations based on the results. In this tutorial, we'll take a look a...Learn More
    Javaregex
  2. Java: Built-in String Regular Expression (RegEx) Methods

    Regular Expressions (RegEx) are a powerful tool and help us match patterns in a flexible, dynamic and efficient way, as well as to perform operations based on the results. In this short guide, we'll take a loo...Learn More
    StringJavaregex
  3. Guide to Regular Expressions in Java

    Introduction Regular Expressions (RegEx) are one of the most powerful tools in programming, yet they're also commonly misunderstood. They help you match patterns in a flexible, dynamic and efficient way, as wel...Learn More
    Javaregex
  4. Validate Email Addresses with Regular Expressions in JavaScript

    Introduction For web developers, validating user inputs in various types of forms is of crucial importance. Since that is the starting point of data being sent between the client and the server, you need to mak...Learn More
    JavaScriptEmailregex
  5. Guide to Regular Expressions and Matching Strings in JavaScript

    Introduction Matching strings or string patterns can be a real struggle. In the most common cases, you'll need these to validate e-mails, user inputs, file names, or most kinds of input strings. While there are...Learn More
    StringJavaScriptregex
  6. Regex: Splitting by Character, Unless in Quotes

    Regex: Splitting by Character, Unless in Quotes Many times when you're parsing text you find yourself needing to split strings on a comma character (or new lines, tabs, etc.), but then what if you needed to use...Learn More
    Javaregex
  7. Comparing Strings using Python

    Comparing Strings using Python In Python, strings are sequences of characters, which are effectively stored in memory as an object. Each object can be identified using the id() method, as you can see below. Pyt...Learn More
    PythonStringregex
  8. Using Regex for Text Manipulation in Python

    Using Regex for Text Manipulation in Python Introduction Text preprocessing is one of the most important tasks in Natural Language Processing (NLP). For instance, you may want to remove all punctuation marks fr...Learn More
    Pythonregex
  9. Introduction to Regular Expressions in Python

    Introduction to Regular Expressions in Python In this tutorial we are going to learn about using regular expressions in Python, including their syntax, and how to construct them using built-in Python modules. T...Learn More
    Pythonregex
  10. Your Guide to Regular Expressions in Python and Terminal

    Breaking Down the Expression Let’s revisit that expression from the beginning: ^\(?[0-9]{3}\)?[\-\s]?[0-9]{3}[\-\s]?[0-9]{4}$ To make this easier to read, let’s break it into smaller chunks and reverse-engin...Learn More
    ProgrammingPythonNewsregexTerminalRegular Expressions
  11. Regular Expressions: Sherlock’s Secret Power

    6. Lookbehind and lookahead regex lookaround Negative lookahead : It helps to get all matches not followed by given pattern. A(?!B) In below example we are trying to fetch “The” if it is not followed by “day”...Learn More
    NewsDebuggingregexsearchRegular ExpressionsRegexp
  12. Introduction to RegEx

    As a developer you have probably already worked with Regular Expressions. If you’re like me and didn’t need them too often, you probably googled them up more than you wrote them yourself. So today I’d like to ...Learn More
    ProgrammingDevelopmentNewsSoftwareregexTools