Skip to content

Commit 359a1f5

Browse files
authored
Create README.md
1 parent 57ed27a commit 359a1f5

File tree

1 file changed

+10
-0
lines changed
  • Specialized Areas/Regular Expressions/Img Tag Regex validator

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**Regex Pattern**
2+
<img : looks for <img in text
3+
\w : looks for any word character (equivalent to [a-zA-Z0-9_])
4+
\W looks for any non-word character (equivalent to [^a-zA-Z0-9_])
5+
> : looks for character >
6+
7+
**How to use**
8+
1. Run this query in background/Fix scripts.
9+
2. The info message will return articles having images. This is very useful information when there are broken images in articles after movement between instances or tools.
10+
3. This can be further enhanced to replace image src if required.

0 commit comments

Comments
 (0)