J
J
JsNoobUser2021-06-09 12:32:06
JavaScript
JsNoobUser, 2021-06-09 12:32:06

How to make a regular expression start with a certain character and end at the end of that word?

How to make a regular expression start with a certain character and end at the end of that word?

For example, the line bi bi-envelope-fill text-red me-2 flex-shrink-0

We need to get a word starting with bi- in this case bi-envelope-fill

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Neverov, 2021-06-09
@JsNoobUser

(bi-.[a-zA-Z\-]*)
https://regex101.com/r/hkozSu/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question