About 18,500 results
Open links in new tab
  1. Regular Expressions in SQL - GeeksforGeeks

    Jan 21, 2025 · Regular expressions (regex) are constructed using a combination of characters and special symbols, each with specific meanings. This table format organizes regex elements and examples for quick reference, making it easy to …

  2. regex - sql start with and end with - Stack Overflow

    Sep 23, 2018 · The regular expression: ^ at the beginning of the pattern means that the expression starts with the pattern. [DK] is a character class matching exactly one occurrence of one of these characters.

  3. Work with Regular Expressions - SQL Server | Microsoft Learn

    Feb 26, 2025 · A regular expression, or regex, is a sequence of characters that defines a search pattern for text. Regex is commonly used for a variety of tasks including pattern matching, data validation, data transformation, and querying.

  4. T-SQL RegEx commands in SQL Server - SQL Shack

    Sep 17, 2019 · We use regular expressions to define specific patterns in T-SQL in a LIKE operator and filter results based on specific conditions. We also call these regular expressions as T-SQL RegEx functions. In this article, we will use the term T …

  5. Regular Expressions in SQL - codedamn

    May 19, 2023 · Regular expressions allow you to perform complex pattern matching and manipulation of text fields in your SQL queries. They can help with tasks like data cleaning, validation, and extraction, which can be difficult to accomplish with standard SQL functions.

  6. SQL Server regular expressions - T-SQL Tutorial

    SQL Server supports regular expressions using the LIKE operator with the % and _ wildcard characters, as well as the PATINDEX and REPLACE functions with regular expression syntax. Here are some examples of how to use regular expressions in SQL Server:

  7. Mastering Regular Expressions for Pattern Matching in SQL

    Sep 5, 2024 · In this comprehensive guide, you’ll gain an expert-level understanding of how to leverage regular expressions for complex string manipulation directly within your SQL queries. Regular expressions, or "regex" for short, provide a declarative way to define string patterns to match, validate, and parse text.

  8. Using RegEx in SQL Server - Stack Overflow

    Jan 19, 2012 · REGEXP_COUNT: This function returns the number of times a regular expression pattern matches in a string. REGEXP_INSTR: This function returns the starting or ending position, based on the specified option, of the given occurrence of a regular expression pattern in a string.

  9. Using Regular Expressions With T-SQL: From Beginner To …

    Apr 6, 2018 · In this tutorial, we will practice using these expressions (referred to as regular expressions in the context only of T-SQL) for filtering price phrases involving alphabetic, numeric, and special characters.

  10. Regular Expressions Functions (Transact-SQL) - SQL Server

    Feb 26, 2025 · Use the functions described in this article to match complex patterns and manipulate data in SQL Server with regular expressions.

Refresh