Avatar of Neapolitan23
Neapolitan23

asked on 

Regular Expression (Excluding String)

I have a regular expression like this: (\)([^:-]*):\d+)

It finds a group of strings. But I want to exclude the strings that include what I have in quotes: " DL "

Any assistance is appreciated.
Regular Expressions

Avatar of undefined
Last Comment
Neapolitan23
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Do you have a sample input?
Avatar of Neapolitan23
Neapolitan23

ASKER

#1:  ) DL Notes CWS 10:05 pm
ASKER CERTIFIED SOLUTION
Avatar of Mazdajai
Mazdajai
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Neapolitan23
Neapolitan23

ASKER

Awesome! Works great.
Regular Expressions
Regular Expressions

A regular expression ("regex") is a sequence of characters that define a search pattern, mainly for use in pattern matching with strings, or string matching, i.e. "find and replace"-like operations. Regular expression processors are found in several search engines, search and replace dialogs of several word processors and text editors, and in the command lines of text processing utilities, such as sed and AWK. Many programming languages provide regular expression capabilities, some built-in, for example Perl, JavaScript, Ruby, AWK, and Tcl, and others via a standard library, for example .NET languages, Java, Python and C++ (since C++11). Most other languages offer regular expressions via a library.

7K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo