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.
Neapolitan23Asked:
Who is Participating?
 
MazdajaiConnect With a Mentor Commented:
Try

(\)\s(?!DL)([^:-]*):\d+)

Open in new window

0
 
MazdajaiCommented:
Do you have a sample input?
0
 
Neapolitan23Author Commented:
#1:  ) DL Notes CWS 10:05 pm
0
 
Neapolitan23Author Commented:
Awesome! Works great.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.