Defineway Technologies
Defineway Technologies
  • Home
  • Careers
  • Contact
  • Licence
  • Knowledge Base
Call Us Now
+91 943 331 9991

regex

  • Home
  • Posts tagged "regex"

Tag: regex

Snigdha Paul January 4, 2025 No Comments

How to check a pattern without case sensitivity only for one portion in a string?

We will add (?i) for matching a specific portion of a string in case insensitive way. Let’s see an example –We have one string below…
Snigdha Paul December 28, 2024 No Comments

What is the use of $1, $2, … etc in regex?

$1, $2 refers the capturing groups. $1 means first capturing group$2 means first capturing group…. etc.These are mainly used for replacement. Lets see an exampleWe…
Snigdha Paul December 21, 2024 No Comments

What is the difference between (?=) and (?<=) in regex?

(?=) is used to check if a string (which we want to match) is followed by another string or not.(?<=) is used to check if…
Snigdha Paul December 14, 2024 No Comments

How to match a pattern which must be preceded by a specific string?

Lets see with an example : We want to search a string “final” which must be preceded by “semi“. Here is two strings below:finalsemifinal Regex…
Snigdha Paul December 7, 2024 No Comments

Why we use (?<!…) instead of (?!…) while matching a pattern which should not be preceded by a specific pattern?

Lets see through example. We have two strings below ,Out First is Hello World. How is it?Out First is Hi World. How is it?I want…
Snigdha Paul November 23, 2024 No Comments

How to add comments in regex?

We can explain our regular expression within the expression using comments. Syntax:(?#Commented Code) Suppose we have a two strings below:Hello worldhello World Regex to match…
Snigdha Paul November 16, 2024 No Comments

How to match a pattern consecutively exactly ‘n’ number of time? Fix issue raised by using {1},{2},…,{n}.

Suppose we want to search the word Hello for only two times side by side in a line and we write a regex (?:Hello){2} Now…
Snigdha Paul November 2, 2024 No Comments

What is {1},{2}… etc. in regex?

When we search a pattern one or more time we use ‘*’. But Sometime we want to search a character or a pattern for a…
Snigdha Paul October 26, 2024 No Comments

What does ‘(?<!…)’ or negative lookbehind represents in regex (Regular expression)?

(?<!…) is used to checks if any preceding character or pattern does not match the specified pattern.Syntax: (?<!preceedingPattern)patternLet’s see with example: We have some lines…
Snigdha Paul October 26, 2024 No Comments

How to search a word separately through regex?

Suppose we have some lines below from where we just want to cut out ‘hello’ regardless of its case.Lines: fetch hello onlynot hello-worldavailable hellonot the…

Posts navigation

Older posts

Search

Category

  • App Development (24)
  • Database Development (11)
  • DevOps (11)
  • Software Engineering (27)
  • Uncategorized (6)
  • Web Development (174)

Tags

Adobe ColdFusion Array Azure coldfusion ColdFusion Advanced ColdFusion Best Practices ColdFusion Component CSS custom post type Dart DevOps DevOps Advanced docker-apache-php-mysql Elementor addon Elementor widget Flutter google map api HTML javascript javascript-advanced jQuery Key Vault laravel map Maps JavaScript API MERN Stack MongoDB mssql MS SQL Server php php laravel React.js regex Regular Expression Ruby Server Administration shortcode sql TypeScript Web Development wordpress wordpress-plugin wordpress-security WordPress Best Practice WordPress Hooks

Archives

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
Footer Logo

Quick Links

  • Home
  • Contact
  • Careers

Contact Us

Phone: +91 347 425 5556  | +91 943 331 9991

Email: hello@defineway.com

Skype: defineway

Knowledge Base

  • How to encrypt a text using SHA256 in dart or flutter? May 10, 2025
  • How To The Write `directoryList( )` Function In ColdFusion? May 10, 2025
© 2024 Defineway Technologies Private Limited. All Rights Reserved.
Terms & Condition Privacy Policy