Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- current regex: /height\: (\d+)px/
- example string 1: <embed width="500" height="400">
- example string 2: <img src="xxx" width="500" height="400">
- ideal regex (with pseudocode): /(NOT INSIDE <img> tag)height\: (\d+)px/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement