Skip to content

Commit 5b598d9

Browse files
committed
task-3
1 parent 3facd1a commit 5b598d9

File tree

2 files changed

+6
-6
lines changed
  • 9-regular-expressions/10-regexp-greedy-and-lazy/4-find-html-tags-greedy-lazy

2 files changed

+6
-6
lines changed

Diff for: 9-regular-expressions/10-regexp-greedy-and-lazy/4-find-html-tags-greedy-lazy/solution.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
The solution is `pattern:<[^<>]+>`.
2+
সমাধানটি হল `pattern:<[^<>]+>`
33

44
```js run
55
let regexp = /<[^<>]+>/g;
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Find HTML tags
1+
# এইচটিএমএল ট্যাগের অনুসন্ধান
22

3-
Create a regular expression to find all (opening and closing) HTML tags with their attributes.
3+
একটি প্যাটার্ন লিখুন যেন সকল এইচটিএমএল ট্যাগগুলো(অ্যাট্রিবিউটসহ) খুঁজে পায়.
44

5-
An example of use:
5+
উদাহরণস্বরূপ:
66

77
```js run
8-
let regexp = /your regexp/g;
8+
let regexp = /আপনার প্যাটার্ন/g;
99

1010
let str = '<> <a href="/"> <input type="radio" checked> <b>';
1111

1212
alert( str.match(regexp) ); // '<a href="/">', '<input type="radio" checked>', '<b>'
1313
```
1414

15-
Here we assume that tag attributes may not contain `<` and `>` (inside squotes too), that simplifies things a bit.
15+
এখানে কিছুটা সহজের জন্য আমরা ধরে নিয়েছি অ্যাট্রিবিউটের মাঝে এই দুটি বন্ধনী `<` এবং `>` থাকবে না।

0 commit comments

Comments
 (0)