✅ – dmikester1 – 15-27 Mar 21
Is this a good room to ask a regex(in Javascript) question?
D
dmikester1•401d ago
OK, so all I'm trying to figure out is how to match a single colon [:] or a space followed by a hyphen [ -] ? If it was just a colon or hyphen, i know I could do
[:-]
.UU
Unknown User•401d ago
D
dmikester1•401d ago
sorry I mean a (colon) or (a space followed by a hyphen)
does that make sense?
D
dmikester1•401d ago
regex101
regex101: build, test, and debug regex
Regular expression tester with syntax highlighting, explanation, cheat sheet for PHP/PCRE, Python, GO, JavaScript, Java, C#/.NET.
D
dmikester1•401d ago
I am close there
I don't want the last part in a seperate group
i want it part of the match
S
ScriptyChris•401d ago
Like this?
D
dmikester1•401d ago
Yes, that works perfect! Thank you!
UU
Unknown User•401d ago
230KMembers
View on DiscordMore Posts
NightSkyJeff – 00-14 Mar 21I am attempting to split one gzipped file (stream) into two gzipped files (streams). I have the read✅ – _mercury – 19-49 Mar 16How to get keys that has space ?ScriptyChris – 17-46 Mar 15Bump https://discord.com/channels/102860784329052160/565213527673929729/1085314919148302427✅ – echoloid – 13-55 Mar 15May I know,
How the statement
import {react} from "react"
Able to find the actual react module presecholoid – 02-56 Mar 15I recently enrolled into an intensive bootcamp curriculum for MERN,
I have spent the past 1year stu