Advertisement
Guest User

Untitled

a guest
Mar 10th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.22 KB | None | 0 0
  1. current regex: /height\: (\d+)px/
  2.  
  3. example string 1: <embed width="500" height="400">
  4. example string 2: <img src="xxx" width="500" height="400">
  5.  
  6. ideal regex (with pseudocode): /(NOT INSIDE <img> tag)height\: (\d+)px/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement