Похожие чаты

Hi, with regex, how can I grab upper or lower

case specifc words from string?

I need to find the words Dwg, DWG, dwg and those with dot and same goes to PDF.

/(.[Dd][Ww][Gg])|(.[Pp][Dd][Ff])/

This is what I did. This also find "dpdf", thats not I wanted.

3 ответов

13 просмотров

(\.[Dd][Ww][Gg])|(\.[Pp][Dd][Ff]) try this You are using "." without "\" which means any char can be placed there. Use "\" before .

shmshd- Автор вопроса
Not Available
(\.[Dd][Ww][Gg])|(\.[Pp][Dd][Ff]) try this You a...

That find only the words with dot. I need also without dot.

/pdf|dwg/i

Похожие вопросы

Обсуждают сегодня

Hey guys, did you see the new announcement about $Fun? 🔥
Filip Murphy
55
А чем вам питонисты не угодили?😂
.
79
Привет, запускаю werf в dind в k8s, получаю ошибку на этапе build/beforeSetup: /.werf/stapel/embedded/bin/bash: /.werf/scripts/5898bdfe5214357d3706b879cc8d3d78460fb379607cbd...
florius0
4
пацаны, как-нибудь можно панель задач заблюрить, что она была похожа на kde или винду 7, 11?
В
16
Dim Dim, [02.07.2024 11:07] DB 0x62 Dim Dim, [02.07.2024 11:07] DB 0x66 Dim Dim, [02.07.2024 11:07] кто пояснит что это?
Dim Dim
14
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
So total 101m burned Today?
Simu
18
Язык Си можно выучить за день? По книжке ANSI C на 230 страниц
Vincent Vegan
11
I have ocean on kucoin and binance what should I do for the migration??
Kobayashitcoin
10
Ребята, я не смешарик еще, новенький в разработке. Вот делаю по тутору игру, и не могу понять, почему у меня выходит корабль за пределы экрана. Сможет кто-нибудь подсказать по...
deshollow
7
Карта сайта